I cant boot on Linux mint debian

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

I cant boot on Linux mint debian

Postby linusasus6 on Wed Sep 28, 2011 9:04 pm

I cant boot on Linux mint debian after installing opensuse grub was not working at all, then I install Mageia 1 grub work really good but I just see Mageia boot and windows I try to put manually Linux mint in the boot but it dint work.
Mageia use grub 0.96 so grub 1 and linux mint use grub2.

my partition are like this

sdb1 extended partition
sdb5 mageia root /
sdb2 swap
sdb3 linux mint root / (556a97c9-83fb-4420-9e24-313233b88f0f)
sdb4 linux mint /home (34f72f7c-0b3f-4e2c-aae0-9f9105d1c5e4)

both grub are on sdb and boot from their root partition, but only mageia grub work.

Please I really like both distribution so I want to boot from both thank you before.
linusasus6
Level 1
Level 1
 
Posts: 3
Joined: Fri May 27, 2011 12:45 am

Linux Mint is funded by ads and donations.
 

Re: I cant boot on Linux mint debian

Postby wayne128 on Wed Sep 28, 2011 10:16 pm

linusasus6 wrote:I cant boot on Linux mint debian after installing opensuse grub was not working at all, then I install Mageia 1 grub work really good but I just see Mageia boot and windows I try to put manually Linux mint in the boot but it dint work.
Mageia use grub 0.96 so grub 1 and linux mint use grub2.

my partition are like this

sdb1 extended partition
sdb5 mageia root /
sdb2 swap
sdb3 linux mint root / (556a97c9-83fb-4420-9e24-313233b88f0f)
sdb4 linux mint /home (34f72f7c-0b3f-4e2c-aae0-9f9105d1c5e4)

both grub are on sdb and boot from their root partition, but only mageia grub work.

Please I really like both distribution so I want to boot from both thank you before.



As you choose to use grub legacy from Mageia, and you have Mageia and Windows both OK.
This means grub legacy of Mageia is controlling the MBR, just stay with it.

What you need to do is to create a boot stanza for LinuxMint
* ( by copying from Linux Mint root partition ) ,
* adjust it and
* put into the Mageia grub legacy ( in its /boot/grub/menu.lst)

Here is the detailed steps:

1. boot into Megaie that you are familiar with

2. open one root terminal, mount the sdb3 linux mint root /

mount /dev/sdb3 /mnt


3. get to see the grub config file of LinuxMint

cat /mnt/boot/grub/grub.cfg


4. this is a very long file, scroll to find
### BEGIN /etc/grub.d/10 ###

then find menuentry that look like this below, yours will be different than the example below

menuentry "LinuxMint GNU/Linux, with Linux 2.6.39-2-amd64 (on /dev/sda11)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos3)'
search --no-floppy --fs-uuid --set=root 03ccedbf-5362-4e48-b659-6ac04d1fcdc0
linux /boot/vmlinuz-2.6.39-2-amd64 root=UUID=03ccedbf-5362-4e48-b659-6ac04d1fcdc0 ro quiet
initrd /boot/initrd.img-2.6.39-2-amd64
}


5. now open your favoriate editor and open the file /boot/grub/menu.lst

6. copy the two lines from the root terminal

linux /boot/vmlinuz-2.6.39-2-amd64 root=UUID=03ccedbf-5362-4e48-b659-6ac04d1fcdc0 ro quiet
initrd /boot/initrd.img-2.6.39-2-amd64


7. create the grub stanza from these two lines with some amendment ( change linux to kernel) so that it look likes these,

title LinuxMint at sdb3
root (hd1,2)
kernel /boot/vmlinuz-2.6.39-2-amd64 root=UUID=03ccedbf-5362-4e48-b659-6ac04d1fcdc0 ro quiet
initrd /boot/initrd.img-2.6.39-2-amd64


8. now copy these in green colour (remember yours has differences on last two lines) and paste into /boot/grub/menu.lst of Mageia's grub legacy

save it

9. reboot and hope for the best
wayne128
Level 8
Level 8
 
Posts: 2195
Joined: Tue Jul 13, 2010 12:15 am


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 2 guests