louaym
December 7th, 2009, 01:31 PM
here the thing; I was having a nice and simple life for few years, then I blow it.
I was multi-booting 4 Linux distros on EXT3 and 1 Windows; with each distro Grub installed in its own partition; with chain-loaders from classic Grub installed in its own simple and small partition /dev/sda2 (it has only /boot/grub/ and installed on MBR just fine; I have set it up once 2 years back and thats it.
(the propose was each installation/re-installation can update its won grub without affecting the others)
then came Ubuntu 9.10 with Grub2 and EXT4. and my old grub setup could not chain-load the new Ubuntu installation;
I have searched and found most posts said its due to EXT4/grub2. and I should put grub2 in the MBR.
I bite my finger and reinstalling Ubuntu 9.10 with grub2 on the MBR.
Now I have Grub2 with all the current installations listed in it fine (but Windows entry is missing ??!!), but any distro updates its kernel and its won grub; could not been used, as the MBR's grub2 has the first menu list when Ubuntu install it.
I want my simple life back, please help me how to create grub2 chain-loader list in same style as my old grub setup.
My setup:
>fdisk -l
----------------------------------
Device Boot Start End Blocks Id System
/dev/sda1 * HPFS/NTFS --- windows
/dev/sda2 FAT32 --- classic grub list/boot only
/dev/sda3 Extended
/dev/sda5 EXT4 --- ubuntu 9.10
/dev/sda6 EXT4 --- fedora 12
/dev/sda7 EXT4 --- mint 8
/dev/sda8 EXT3 --- mint 7
/dev/sda9 EXT4 data partition
/dev/sda10 EXT4 data partition
/dev/sda11 swap
---------------------------------------
my old classic grub menu.lst:
----------------------------
default 0
timeout 5
color cyan/blue white/blue
###
title Linux on sda8
chainloader (hd0,7)+1
title Linux on sda5
chainloader (hd0,4)+1
title Linux on sda6
chainloader (hd0,5)+1
title Linux on sda7
chainloader (hd0,6)+1
title Windows 7
root (hd0,0)
savedefault
chainloader +1
----------------------------
I was multi-booting 4 Linux distros on EXT3 and 1 Windows; with each distro Grub installed in its own partition; with chain-loaders from classic Grub installed in its own simple and small partition /dev/sda2 (it has only /boot/grub/ and installed on MBR just fine; I have set it up once 2 years back and thats it.
(the propose was each installation/re-installation can update its won grub without affecting the others)
then came Ubuntu 9.10 with Grub2 and EXT4. and my old grub setup could not chain-load the new Ubuntu installation;
I have searched and found most posts said its due to EXT4/grub2. and I should put grub2 in the MBR.
I bite my finger and reinstalling Ubuntu 9.10 with grub2 on the MBR.
Now I have Grub2 with all the current installations listed in it fine (but Windows entry is missing ??!!), but any distro updates its kernel and its won grub; could not been used, as the MBR's grub2 has the first menu list when Ubuntu install it.
I want my simple life back, please help me how to create grub2 chain-loader list in same style as my old grub setup.
My setup:
>fdisk -l
----------------------------------
Device Boot Start End Blocks Id System
/dev/sda1 * HPFS/NTFS --- windows
/dev/sda2 FAT32 --- classic grub list/boot only
/dev/sda3 Extended
/dev/sda5 EXT4 --- ubuntu 9.10
/dev/sda6 EXT4 --- fedora 12
/dev/sda7 EXT4 --- mint 8
/dev/sda8 EXT3 --- mint 7
/dev/sda9 EXT4 data partition
/dev/sda10 EXT4 data partition
/dev/sda11 swap
---------------------------------------
my old classic grub menu.lst:
----------------------------
default 0
timeout 5
color cyan/blue white/blue
###
title Linux on sda8
chainloader (hd0,7)+1
title Linux on sda5
chainloader (hd0,4)+1
title Linux on sda6
chainloader (hd0,5)+1
title Linux on sda7
chainloader (hd0,6)+1
title Windows 7
root (hd0,0)
savedefault
chainloader +1
----------------------------