Logo 
Search:

Unix / Linux / Ubuntu Answers

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds
  on Dec 20 In Unix / Linux / Ubuntu Category.

  
Question Answered By: Adah Miller   on Dec 20

Here is the layout of my Linux partitions and Windows partition from
the output of the fdisk -l command (as root in Linux):
Disk /dev/sdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x60276028

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 9728 78140128+ 7 HPFS/NTFS

Disk /dev/sdd: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5fd95fd9

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 13 104391 83 Linux
/dev/sdd2 14 9538 76509562+ 83 Linux
/dev/sdd3 9539 9729 1534207+ 82 Linux swap /
Solaris


Here are the contents of my menu.lst file to give you and idea of how
it was setup for dual booting on two separate disks. Note: the Linux
distro, Fedora Core 3 (FC3) is the default=0. Change it to default=1
if you want Windows to boot; and the timeout=15 means there are 15
seconds to decide which OS to boot:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/sdb2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.10-1.770_FC3smp)
root (hd1,0)
kernel /vmlinuz-2.6.10-1.770_FC3smp ro root=/dev/sdb2 rhgb quiet
initrd /initrd-2.6.10-1.770_FC3smp.img
#title Fedora Core (2.6.10-1.770_FC3)
# root (hd1,0)
# kernel /vmlinuz-2.6.10-1.770_FC3 ro root=/dev/sdb2 rhgb quiet
# initrd /initrd-2.6.10-1.770_FC3.img
#title Fedora Core (2.6.9-1.667smp)
# root (hd1,0)
# kernel /vmlinuz-2.6.9-1.667smp ro root=/dev/sdb2 rhgb quiet
# initrd /initrd-2.6.9-1.667smp.img
#title Fedora Core-up (2.6.9-1.667)
# root (hd1,0)
# kernel /vmlinuz-2.6.9-1.667 ro root=/dev/sdb2 rhgb quiet
# initrd /initrd-2.6.9-1.667.img
title WindowsXP
rootnoverify (hd0,0)
chainloader +1

You will need to modify your setup with your own system's data for
device names, files, etc. to implement this scheme, and check all of
the details to insure that none of my data is referenced - i.e. use
only your data.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Ubuntu 8.04 - dualboot on two hard drives Or get search suggestion and latest updates.


Tagged: