Upgrading the computer issues (dual boot windows 7 with grub)
Les
hlhowell at pacbell.net
Sun Dec 12 19:55:23 UTC 2010
I purchased an AMD phenomII 6 core with 6G ram and 1.5Tb hard drive with
windows 7 home premium already installed.
I added a 500G cavier black drive for my linux system, and removed the
windows disk temporarily during the install to ensure I didn't clobber
the windows stuff (I need windows professionally), but I want dual boot,
so this should work.
FEL14 x64 live cd was used to setup the disk.
I moved all of my older user directories from the prior FC12 drive to
the new drive no problem.
Now I need to set up the dual boot.
Researching the net returned the usual stuff about hd0 and hd1, so I
edited menu.lst. (see later listings of menu.lst and grub.conf)
I do not see the menu presented. I don't seem to be able to get into
windows 7 at all. So the question becomes, how to access the menu and
get windows 7 to boot. I have included the information on grub.conf and
menu.lst to show what I have done. I am sure it is wrong, but I am not
seeing it.
=========================================================================
# 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/mapper/vg_school3-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/pdc_dcedfhhihd
default=0
timeout=0
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.35.9-64.fc14.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.35.9-64.fc14.x86_64 ro
root=/dev/mapper/vg_school3-lv_root rd_DM_UUID=pdc_dcedfhhihd
rd_LVM_LV=vg_school3/lv_root rd_LVM_LV=vg_school3/lv_swap rd_NO_LUKS
rd_NO_MD LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc
KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.35.9-64.fc14.x86_64.img
title Fedora (2.6.35.6-45.fc14.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.35.6-45.fc14.x86_64 ro
root=/dev/mapper/vg_school3-lv_root rd_DM_UUID=pdc_dcedfhhihd
rd_LVM_LV=vg_school3/lv_root rd_LVM_LV=vg_school3/lv_swap rd_NO_LUKS
rd_NO_MD LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc
KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.35.6-45.fc14.x86_64.img
title Windows
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,1)
# makeactive #if you use Windows7 this line should be commented out
chainloader +1
=========================================================
fdisk -l shows the following:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00088ae8
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 976642047 487808000 8e Linux LVM
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa2771934
Device Boot Start End Blocks Id System
/dev/sdb1 2048 37750783 18874368 27 Unknown
/dev/sdb2 * 37750784 37955583 102400 7 HPFS/NTFS
/dev/sdb3 37955584 2930143231 1446093824 7 HPFS/NTFS
Disk /dev/dm-0: 500.0 GB, 500040728576 bytes
255 heads, 63 sectors/track, 60793 cylinders, total 976642048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00088ae8
Device Boot Start End Blocks Id System
/dev/dm-0p1 * 2048 1026047 512000 83 Linux
/dev/dm-0p2 1026048 976642047 487808000 8e Linux LVM
Disk /dev/dm-1: 524 MB, 524288000 bytes
255 heads, 63 sectors/track, 63 cylinders, total 1024000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 499.5 GB, 499515392000 bytes
255 heads, 63 sectors/track, 60729 cylinders, total 975616000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders, total 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4: 10.5 GB, 10536091648 bytes
255 heads, 63 sectors/track, 1280 cylinders, total 20578304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-4 doesn't contain a valid partition table
Disk /dev/dm-5: 1500.2 GB, 1500234776576 bytes
255 heads, 63 sectors/track, 182393 cylinders, total 2930146048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa2771934
Device Boot Start End Blocks Id System
/dev/dm-5p1 2048 37750783 18874368 27 Unknown
/dev/dm-5p2 * 37750784 37955583 102400 7 HPFS/NTFS
/dev/dm-5p3 37955584 2930143231 1446093824 7 HPFS/NTFS
Disk /dev/dm-6: 19.3 GB, 19327352832 bytes
255 heads, 63 sectors/track, 2349 cylinders, total 37748736 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6e697373
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/dm-6p1 ? 1936269394 3772285809 918008208 4f QNX4.x 3rd
part
/dev/dm-6p2 ? 1917848077 2462285169 272218546+ 73 Unknown
/dev/dm-6p3 ? 1818575915 2362751050 272087568 2b Unknown
/dev/dm-6p4 ? 2844524554 2844579527 27487 61 SpeedStor
Partition table entries are not in disk order
Disk /dev/dm-7: 104 MB, 104857600 bytes
255 heads, 63 sectors/track, 12 cylinders, total 204800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6e697373
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/dm-7p1 ? 1936269394 3772285809 918008208 4f QNX4.x 3rd
part
/dev/dm-7p2 ? 1917848077 2462285169 272218546+ 73 Unknown
/dev/dm-7p3 ? 1818575915 2362751050 272087568 2b Unknown
/dev/dm-7p4 ? 2844524554 2844579527 27487 61 SpeedStor
Partition table entries are not in disk order
Disk /dev/dm-8: 1480.8 GB, 1480800075776 bytes
255 heads, 63 sectors/track, 180030 cylinders, total 2892187648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6e697373
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/dm-8p1 ? 1936269394 3772285809 918008208 4f QNX4.x 3rd
part
/dev/dm-8p2 ? 1917848077 2462285169 272218546+ 73 Unknown
/dev/dm-8p3 ? 1818575915 2362751050 272087568 2b Unknown
/dev/dm-8p4 ? 2844524554 2844579527 27487 61 SpeedStor
Partition table entries are not in disk order
Disk /dev/dm-9: 435.3 GB, 435268091904 bytes
255 heads, 63 sectors/track, 52918 cylinders, total 850132992 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-9 doesn't contain a valid partition table
===========================================================
More information about the users
mailing list