Re: How to boot second grub?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello;
  this is the way I boot XP/FC2/FC4T2.
They are all on seperate drives.


My system:
hda - WinBlow$ XP
hdb - FC2
hdc - DVD burner
hdd - FC4T2

Install XP first to hda

Install FC2 to hdb, make sure to create a /boot partition.
Remove the labels from the drives and change /etc/fstab to reflect
this.
(e2label /dev/hdx "" )
Of course XP/swap/extended have no labels.

Then added a small drive for FC4T2, installed to it using its mbr,
ignoring all other drives from disk druid.
Again it has a /boot partition, and again remove the drive labels
Now when I boot I get this grub:


Mount your old (FC2) and copy/paste grub.conf

#Fedora Core 4 test 2 
-----------------------------------------------------------------------------------------
#/boot/grub/grub.conf:

snip ...
title Fedora Core (2.6.11-1.1276_FC4)
	root (hd2,0)
	kernel /vmlinuz-2.6.11-1.1276_FC4 ro root=/dev/hdd3 rhgb 
	initrd /initrd-2.6.11-1.1276_FC4.img

# the below was copy/pasted
title WinBlow$ XP
	rootnoverify (hd0,0)
	chainloader +1


title FC2 (2.6.12-rc2)
	root (hd1,0)
	kernel /vmlinuz-2.6.12-rc2 ro root=/dev/hdb7 rhgb 
	initrd /initrd-2.6.12-rc2.img
-----------------------------------------------------------------------------------------
#/boot/grub/device.map

# this device map was generated by anaconda
#and then edited by me 

(fd0)     /dev/fd0
(hd0)     /dev/hda
(hd1)     /dev/hdb
(hd2)     /dev/hdd
-----------------------------------------------------------------------------------------
#fdisk -l

Disk /dev/hda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        5979    48026286    c  W95 FAT32 (LBA)
/dev/hda2            5980       19929   112053375    f  W95 Ext'd (LBA)
/dev/hda5            5980       12954    56026656    b  W95 FAT32
/dev/hda6           12955       19929    56026656    7  HPFS/NTFS

Disk /dev/hdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1          32      257008+  83  Linux
/dev/hdb2              33       12780   102398310   83  Linux
/dev/hdb3           12781       14055    10241437+  83  Linux
/dev/hdb4           14056       19929    47182905    f  W95 Ext'd (LBA)
/dev/hdb5           14056       15099     8385898+  83  Linux
/dev/hdb6           15100       15736     5116671   83  Linux
/dev/hdb7           15737       16258     4192933+  83  Linux
/dev/hdb8           16259       16519     2096451   82  Linux swap /
Solaris
/dev/hdb9           16520       16774     2048256   83  Linux
/dev/hdb10          16775       19929    25342506   83  Linux

Disk /dev/hdd: 30.7 GB, 30758289408 bytes
255 heads, 63 sectors/track, 3739 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

#/etc/fstab for FC4T2

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1   *           1          13      104391   83  Linux
/dev/hdd2              14         136      987997+  82  Linux swap /
Solaris
/dev/hdd3             137        2569    19543072+  83  Linux
/dev/hdd4            2570        3739     9398025   83  Linux
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hdd3               /                       ext3    defaults       
1 1
/dev/hdd1               /boot                   ext3    defaults       
1 2
/dev/devpts             /dev/pts                devpts  gid=5,mode=620 
0 0
/dev/shm                /dev/shm                tmpfs   defaults       
0 0
/dev/hdd4               /mnt/UPDATES            ext3    defaults       
1 2
/dev/proc               /proc                   proc    defaults       
0 0
/dev/sys                /sys                    sysfs   defaults       
0 0
/dev/hdb8               swap                    swap    defaults       
0 0
/dev/hdd2               swap                    swap    defaults       
0 0
/dev/fd0                /media/floppy           auto   
pamconsole,exec,noauto,managed 0 0
/dev/hdc                /media/cdrecorder       auto   
pamconsole,exec,noauto,managed 0 0

/dev/hdb10		/mnt/music		ext3	defaults	0 0

-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------

Fedora Core 2:
-----------------------------------------------------------------------------------------
/boot/grub/device.map 
# this device map was generated by anaconda
(fd0)     /dev/fd0
(hd0)     /dev/hda
(hd1)     /dev/hdb
-----------------------------------------------------------------------------------------
#/etc/fstab for FC2:

/dev/hdb7               /                       ext3    defaults       
1 1
/dev/hdb1               /boot                   ext3    defaults       
1 2
none                    /dev/pts                devpts  gid=5,mode=620 
0 0
none                    /dev/shm                tmpfs   defaults       
0 0
/dev/hdb5               /home                   ext3    defaults       
1 2
/dev/hdb2               /mnt/downloads          ext3    defaults       
1 2
/dev/hdb10              /mnt/media              ext3    defaults       
1 2
/dev/hda1               /mnt/vfat-w98           vfat    defaults       
0 0
/dev/hda5               /mnt/vfat-xp            vfat    defaults       
0 0
none                    /proc                   proc    defaults       
0 0
none                    /sys                    sysfs   defaults       
0 0
/dev/hdb3               /usr                    ext3    defaults       
1 2
/dev/hdb6               /usr/local              ext3    defaults       
1 2
/dev/hdb9               /var                    ext3    defaults       
1 2
/dev/hdb8               swap                    swap    defaults       
0 0
/dev/fd0                /mnt/floppy             auto   
noauto,owner,kudzu 		0 0
/dev/hda6               /mnt/NTFS               ntfs   
noauto,owner,users,umask=000     0 0
/dev/sda1               /mnt/firewire           ext3   
noauto,owner,users     0 0
none 			/proc/bus/usb 		usbfs 	defaults,devmode=0666 		0 0

/dev/cdrom              /mnt/cdrom              udf,iso9660
noauto,owner,kudzu,ro 0 0
--------------------------------------------------------------
This will probably line-wrap.
Hope this helps.

Mick M.

Dogs have Masters - Siamese Cats have Staff!

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux