Skip to main content

Thread: Grub2 + windows 7


hi, i've install new hd fresh, , put win7 , ubuntu 11.04. first windows, , later ubuntu, trying avoid annoying windows mbr overwriting.

problem is, windows reason creates 100mb partition on sda1, , partition grub2 believes it's windows:
vinicius@cyberton:/etc/grub.d$ sudo fdisk -lu

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: 0x1eb5b968

device boot start end blocks id system
/dev/sda1 * 2048 206847 102400 7 hpfs/ntfs
partition 1 not end on cylinder boundary.
/dev/sda2 206848 481279999 240536576 7 hpfs/ntfs
/dev/sda3 481280000 676591615 97655808 83 linux
/dev/sda4 676593662 976771071 150088705 5 extended
/dev/sda5 676593664 684404735 3905536 82 linux swap / solaris
/dev/sda6 684406784 976771071 146182144 83 linux


question (i knew on great, easy use grub 1): how can change sda1 sda2 on grub2?

regards

quote posted viniciuscarvalho view post
hi, i've install new hd fresh, , put win7 , ubuntu 11.04. first windows, , later ubuntu, trying avoid annoying windows mbr overwriting.

problem is, windows reason creates 100mb partition on sda1, , partition grub2 believes it's windows:
vinicius@cyberton:/etc/grub.d$ sudo fdisk -lu

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: 0x1eb5b968

device boot start end blocks id system
/dev/sda1 * 2048 206847 102400 7 hpfs/ntfs
partition 1 not end on cylinder boundary.
/dev/sda2 206848 481279999 240536576 7 hpfs/ntfs
/dev/sda3 481280000 676591615 97655808 83 linux
/dev/sda4 676593662 976771071 150088705 5 extended
/dev/sda5 676593664 684404735 3905536 82 linux swap / solaris
/dev/sda6 684406784 976771071 146182144 83 linux


question (i knew on great, easy use grub 1): how can change sda1 sda2 on grub2?

regards
cannot find menu.lst anymore. whatever has been replaced with, has in /boot/grub/ directory. going switch hdx,y hdx,z: x correct hdd , z correct partition.

maybe if reinstall grub2 (which risky) can edit configuration.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Grub2 + windows 7


Ubuntu

Comments