Re: How do I add a partition to Grub?

From: SrBueno (dhgood_at_cfl.rr.com)
Date: 04/23/04


Date: Fri, 23 Apr 2004 19:52:25 GMT

BeFaS wrote:

> Hi!
> I wish to add a third OS to my Grub bootloader but donīt know how to do.
> Itīs a Linux ext2 partition placed on hda6
>
> The OS that now starts with Grub is WinXP at hda1 and Red Hat at hda8.
> Both of these were configured at installation of RedHat.
>
> I donīt understand the way Grub give the name to partitions. I believe
> that Grub wantīs to call my third partition for (hd1.6)
> Is that right?
> My vmlinuz is placed in /boot/vmlinuz at hda6
>
> Thanks for help
>
> //BeFaS
Here is my /boot/grub/menu.lst

# Modified by YaST2. Last modification on Fri Jun 27 07:17:53 2003

color white/blue black/light-gray
default 1
gfxmenu (hd0,9)/boot/message
timeout 8

title Knoppix
    kernel (hd1,1)/boot/vmlinuz root=/dev/hdb2 quiet devfs=mount
hde=ide-scsi acpi=off vga=791

title Mandrake 9.1
    kernel (hd0,0)/vmlinuz root=/dev/hda5 quiet devfs=mount hde=ide-scsi
acpi=off vga=791
    initrd (hd0,0)/initrd.img

title Mandrake 10.0rc1
    kernel (hd2,2)/boot/vmlinuz root=/dev/hdd3 quiet devfs=mount acpi=off
vga=791
    initrd (hd2,2)/boot/initrd.img

title PCLinuxOS
    kernel (hd0,10)/boot/vmlinuz root=/dev/hda11 quiet devfs=mount
hde=ide-scsi acpi=off vga=791
    initrd (hd0,10)/boot/initrd.img

title RedHat 9.0
    kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 quiet devfs=mount
hde=ide-scsi acpi=off vga=791
    initrd (hd1,4)/boot/initrd-2.4.20-20.9.img

title SuSE
    kernel (hd0,9)/boot/vmlinuz root=/dev/hda10 vga=0x317 hde=ide-scsi
hdelun=0 splash=silent showopts
    initrd (hd0,9)/boot/initrd

title Vector
    kernel (hd1,0)/boot/vmlinuz root=/dev/hdb1 quiet hde=ide-scsi acpi=off
vga=791

title BeOS
    rootnoverify (hd2,5)
    chainloader +1

title floppy
    root (fd0)
    chainloader +1

title failsafe
    kernel (hd0,10)/boot/vmlinuz.shipped root=/dev/hda11 showopts ide=nodma
apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3
    initrd (hd0,10)/boot/initrd.shipped

/* NOTE some of the previous lines have wrapped */

And /boot/grub/device.map

(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/hdd

/* NOTE partitions on a device are zero (0) relative, i.e. the first
partition on hda, using my device map, is (hd0,0) while the last partition
(11) is (hd0,10) */



Relevant Pages

  • Re: Howto fix grub after converting to reiserfs
    ... The initial load of grub is done by the BIOS, which reads the boot sectors for additional information for the boot process. ... If you still have problems, and can come up with a small bit of additional disk space, near the beginning of the disk, create a separate partition for /boot and format it as ext3, move all the files from your existing subdirectory into this new partition, edit the menu.lst file to remove all references to '/boot', edit fstab to do a mount of this partition on /boot, and reboot. ... it will perform a full install presuming the Stage 2 or Stage 1.5^10 is in its final install location. ... 0, Filesystem type is fat, partition type 0x16 ...
    (Debian-User)
  • fixing grub : mbr fix when windows install after linux
    ... "There is not a boot manager screen at all, ... windows but GRUB boot window does not appear. ... "I forgot to install GRUB, I didn't install GRUB in the MBR, I chose ... Fedora but that was not an active primary partition". ...
    (comp.os.linux.misc)
  • Re: Dual boot problem
    ... The install went smoothly but when the computer restarted it ... went straight into Windows XP and the Grub Bootloader did not appear! ... One produced the same problem) For some reason the Grub bootloader had ... install GRUB on the first track on the partition where I installed ...
    (comp.os.linux.setup)
  • Re: Howto fix grub after converting to reiserfs
    ... First, to rephrase a bit of what shell says the problem is, highly simplified. ... The initial load of grub is done by the BIOS, which reads the boot sectors for additional information for the boot process. ... If you still have problems, and can come up with a small bit of additional disk space, near the beginning of the disk, create a separate partition for /boot and format it as ext3, move all the files from your existing subdirectory into this new partition, edit the menu.lst file to remove all references to '/boot', edit fstab to do a mount of this partition on /boot, and reboot. ... it will perform a full install presuming the Stage 2 or Stage 1.5^10 is in its final install location. ...
    (Debian-User)
  • GRUB Loading Stage2Read Error
    ... gives an error "GRUB Loading stage2Read Error". ... even tried a complete re-install with the default Fedora ... Fedora 2 32-bit install on it from my old system, ... The partition maps as reported from fdisk are: ...
    (comp.os.linux.setup)