How To dual-boot with Windows
SATA with linux ext3, and IDE with Win XP using FAT32.
I used fat32 for windows bcause it makes it easier to share the filesystem
with linux. I rarely use windows, so any performance issues aren't that
important to me. This works for me.
[bomr@localhost ~]$ /sbin/fdisk -l /dev/sda
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot
Start End
Blocks Id System
/dev/sda1 *
1 13
104391 83 Linux
/dev/sda2
17991 19457 11783677+
c W95 FAT32 (LBA)
/dev/sda3
14 143
1044225 82 Linux swap
/dev/sda4
144 17990 143356027+
f W95 Ext'd (LBA)
/dev/sda5
144 17990 143355996
83 Linux
Partition table entries are not in disk order
[bomr@localhost ~]$ /sbin/fdisk -l /dev/hda
Disk /dev/hda: 15.0 GB, 15020457984 bytes
16 heads, 63 sectors/track, 29104 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot
Start End
Blocks Id System
/dev/hda1 *
1 29103 14667880+
c W95 FAT32 (LBA)
[bomr@localhost ~]$ more /boot/grub/grub.conf
# 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 (hd0,0)
#
kernel /vmlinuz-version ro root=/dev/sda5
#
initrd /initrd-version.img
boot=/dev/sda1
default=1
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.12-1.1381_FC3smp)
root (hd0,0)
kernel /vmlinuz-2.6.12-1.1381_FC3smp
ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.12-1.1381_FC3smp.img
title Fedora Core (2.6.9-1.667)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667
ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667.img
title Windows XP
rootnoverify
(hd1,0)
map (hd0)
(hd1)
map (hd1)
(hd0)
chainloader
+1
Have a Linux Problem
Linux Forum
- Do you have a Linux Question?
Linux Books
Linux Certification,
System Administration, Programming, Networking Books
Linux Home: Linux
System Administration Hints and Tips
(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.
Information used on this site is at your own risk.
All product names are trademarks of their respective
companies.
The site www.gotothings.com is in no way affiliated with
or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.
|