C
C
Ctacok2011-01-11 20:06:44
Windows
Ctacok, 2011-01-11 20:06:44

Grub2 and Windows 7. Infinity War

Good afternoon habr, I don’t know who to ask and where to turn, so I hope for you.
In general, fdisk -l: / dev / sda5 - Windows 7 sudo update-grub2, etc. Does not help. Rough just doesn't see hard with Windows. grub.cfg: Pastebin.com Thank you very much.
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x453fcc37

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25496 204796588+ 83 Linux
/dev/sda2 25497 60800 283579349+ f W95 Ext'd (LBA)
/dev/sda5 25497 60800 283579348+ 7 HPFS/NTFS





Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shadowalone, 2011-01-11
@shadowalone

You simply do not have an entry for Windows in the grub config,
find the uuid of the partition with Windows
ls -al /dev/disk/by-uuid/
numbers opposite /dev/sda2
add
menuentry "Win7" {
insmod part_msdos
insmod ntfs
set root='(hd0, msdos2)'
search --no-floppy --fs-uuid --set what_found
chainloader +1
}
and then
sudo update-grub2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question