Dual Boot Problem - Linux BootLoaders
J.Markoll
j.markoll at free.fr
Fri Dec 30 06:52:13 UTC 2005
Tim Frost a écrit :
>>=-=-=-=-=-=-=-=-=-=-=-=
>>
>>root (hd0,6)
>>kernel /boot/vmlinuz-2.6.12-9-686 root=/dev/hda8 ro quiet
>>
>>=-=-=-=-=-=-=-=-=-=-=-=
>>instead of root=/dev/hda7
> Do you have a separate /boot partition?
Never. I typically make a / a swap a /usr and sometimes a /var and then
the /home but the /boot, never. (Not yet, at least).
> My disk has:
> tim at marvin:~$ sudo fdisk -l
> Disk /dev/hda: 200.0 GB, 200049647616 bytes
> 255 heads, 63 sectors/track, 24321 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Device Boot Start End Blocks Id System
> /dev/hda1 1 12 96358+ 83 Linux
> /dev/hda2 13 7307 58597087+ 83 Linux
> /dev/hda3 7308 24321 136664955 5 Extended
> /dev/hda5 7308 15209 63472783+ 83 Linux
> /dev/hda6 15210 23719 68356543+ 83 Linux
> /dev/hda7 23720 24321 4835533+ 82 Linux swap /
> Solaris
> tim at marvin:~$ mount
> /dev/hda2 on / type ext3 (rw,errors=remount-ro)
> /dev/hda1 on /boot type ext3 (rw)
> /dev/hda5 on /home type ext3 (rw)
> /dev/hda6 on /var type ext3 (rw)
> and grub has:
> title Ubuntu, kernel 2.6.12-9-386
> root (hd0,0)
> kernel /vmlinuz-2.6.12-9-386 root=/dev/hda2 ro quiet splash
> initrd /initrd.img-2.6.12-9-386
> savedefault
> boot
> This means that grub is operating inside the /boot partition /dev/hda1 =
> (hd0,0), but loading /dev/hda2 as the file system root directory.
yes, with a /boot separated and 'living' at hda2 :)
> Disk /dev/hdb: 30.6 GB, 30606151680 bytes
> 255 heads, 63 sectors/track, 3720 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Device Boot Start End Blocks Id System
> /dev/hdb1 1 802 6442033+ 83 Linux
Mine:
Disk /dev/hda: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 6525 3288568+ 83 Linux
/dev/hda2 6526 158816 76754633 5 Extended
/dev/hda5 6526 8611 1051312+ 82 Linux swap / Solaris
/dev/hda6 8623 31142 11349891 83 Linux
/dev/hda7 31142 40832 4883728+ 83 Linux
/dev/hda8 40832 54395 6835626 83 Linux
/dev/hda9 54395 67958 6835626 83 Linux
/dev/hda10 67958 89266 10739421 83 Linux
/dev/hda11 89267 158816 35053200 83 Linux
Several OS, cfdisk would be more accurate:
Pri/Log Espace libre 0,04 *
hda5 NC Logique Linux swap / Sol 1076,55 *
Logique Espace libre 5,78 *
hda6 Logique Linux ext3 11622,33 *
hda7 Logique Linux ext3 [/] 5000,98 *
hda8 Logique Linux ext3 [/usr] 6999,72 *
hda9 Logique Linux ext3 [/var] 6999,72 *
hda10 Logique Linux ext3 [null] 10997,20 *
hda11 Logique Linux ext3 [/home] 35894,51 *
>>what a fun! :(
>>I keep erasing the 'splash' line, it puts it back each time, too.
> You may be able to eliminate the "splash" from new kernels, by changing
> the line
> # nonaltoptions=quiet splash
> to read as follows:
> # nonaltoptions=quiet
> (This works because the options in that commented line are copied to
> each linux stanza created during a kernel upgrade.)
> Of course, you still need to remove the "splash" option from the
> existing kernel entries, since that line is only used when a new kernel
> is installed.
Ok. What about kernel compilation when kernel updates come so frequently ?
Is it worth it ? (I haven't gone into reading docs about compilation
until now, and do not want to take time momently) so is it interesting
to modify just one option ?
>>Thanks, and best greetings, Joyce Markoll.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051230/bba6c084/attachment.sig>
More information about the ubuntu-users
mailing list