You are not logged in.
Pages: 1
Hello,
i have 2 HDDs, each 150GB. First, i have installed Windows 7 on the HDD1 (/dev/sda). Then i have installed Archlinux on the HDD2 (/dev/sdb) (root partition that takes the entire HDD) with Grub in the MBR of the HDD1. Now i can't boot Windows 7, but Archlinux starts perfectly. Could anyone help to localize my problem, please? Thanks in advance!
Offline
Can you post your grub/menu.lst in code tags like
this
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you for the answer,
my menu.lst:
# (0) Arch Linux
title Arch Linux
root (hd1,0)
kernel /boot/vmlinuz-linux root=/dev/sdb1 ro
initrd /boot/initramfs-linux.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd1,0)
kernel /boot/vmlinuz-linux root=/dev/sdb1 ro
initrd /boot/initramfs-linux-fallback.img
# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
Last edited by superhet (2012-05-26 20:01:07)
Offline
Thank you for the answer,
my menu.lst:# (0) Arch Linux
title Arch Linux
root (hd1,0)
kernel /boot/vmlinuz-linux root=/dev/sdb1 ro
initrd /boot/initramfs-linux.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd1,0)
kernel /boot/vmlinuz-linux root=/dev/sdb1 ro
initrd /boot/initramfs-linux-fallback.img
# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
See: Arch + Windows for special instructions for Windows 7. Basically, you need to comment out "makeactive." So, your Windows 7 section would look like this:
# (2) Windows
title Windows
rootnoverify (hd0,0)
#makeactive
chainloader +1
This may not solve your original issue but it is another issue that should be fixed.
Offline
Ok, now it looks like
# (2) Windows
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
#makeactive
chainloader +1
and doesn't work as well :'(
When i try rootnoverify (hd1,1) or (hd1,0) or (hd0,1) it doesn't work too...
Offline
You don't need the "map" options as Windows is on the first drive.
If Windows is not on the first hard drive, the Windows boot loader must be "tricked" into thinking Windows is on the first hard drive.
So remove both the map lines and try again.
Offline
Without the "map" and "makeactive" lines it doesn't work as well
Last edited by superhet (2012-05-27 00:12:27)
Offline
"makeactive" is a separate issue. If you had that option enabled, and booted Windows 7 only then Windows 7 might overwrite your GRUB bootloader with its own and you'd have to reinstall GRUB. I don't have a link for that as a reference but when I was setting up my own dual-boot I read that.
So, "makeactive" down, which other drive to boot for Windows 7 still going. Sorry I don't have any suggestions for the remaining issue.
Offline
It might help if you paste the output of:
sudo fdisk -l
* That's a lower case L in case you are using a sans font. Not an upper case i.
Offline
Yeah, you say you installed GRUB on /dev/sda. But I think you installed just the MBR there and the actual files (/boot/grub) are on /dev/sdb.
https://wiki.archlinux.org/index.php/GR … B.27s_root
If you are unaware of the the location of /boot, use the GRUB shell find command to locate the GRUB files. Enter the GRUB shell as root by:
...
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
i think you need to map
but only one of them.
tow map's is like multiply - by -.
ezik
Offline
https://wiki.archlinux.org/index.php/GR … th_Windows
If Windows is located on another hard disk, the map command must be used. This will make your Windows install think it is actually on the first drive.
He said he has Windows on /dev/sda (first HDD), so I don't think there's any need for the map command. But we'll have to see fdisk -l for more information... We're not psychics.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Ok, here is the output of "sudo fdisk -l" (Sorry, it's in german, but i hope the meaning is clear without translation):
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 Köpfe, 63 Sektoren/Spur, 19457 Zylinder, zusammen 312581808 Sektoren
Einheiten = sectors von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001ed02Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 312578047 156185600 7 HPFS/NTFS/exFATDisk /dev/sdb: 160.0 GB, 160041885696 bytes
255 Köpfe, 63 Sektoren/Spur, 19457 Zylinder, zusammen 312581808 Sektoren
Einheiten = sectors von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000daf8fGerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 * 63 312581807 156290872+ 83 Linux
Offline
Pages: 1