Installing from hdd (grub2)?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
m1losh

Installing from hdd (grub2)?

Post by m1losh »

Hi,
I was wandering is there a way to install Mint from hdd on another distribution and which are the commands for grub?
I've seen threads about installing from an USB device so I wander is the procedure the same?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Installing from hdd (grub2)?

Post by catweazel »

"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
m1losh

Re: Installing from hdd (grub2)?

Post by m1losh »

I've tried this and it end up with this message:
line 215: can't open '/scripts/casper'
[ 5.28909] Kernel panic - not syncing: Attempted to kill init!
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Installing from hdd (grub2)?

Post by catweazel »

Are you trying to install LMDE, by any chance?
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
m1losh

Re: Installing from hdd (grub2)?

Post by m1losh »

TehGhodTrole wrote:Are you trying to install LMDE, by any chance?
Yes, I do. I managed to get it to work with this command:

Code: Select all

menuentry "Linux Mint Debian Edition" { 
set root=(hdX,Y)
set isofile="/isofile.iso"
    loopback loop $isofile
    linux (loop)/casper/vmlinuz fromiso=/dev/disk/by-uuid/UUID/$isofile boot=live config live-media-path=/casper noeject --
    initrd (loop)/casper/initrd.lz 
    }
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Installing from hdd (grub2)?

Post by catweazel »

yes
I'm glad you got it sorted. That script change was the next recommendation. The LMDE iso has to be mounted differently to the Ubuntu-based editions.

Cheers.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Locked

Return to “Installation & Boot”