You are not logged in.

#1 2010-09-21 16:20:13

mibadt
Member
Registered: 2009-09-25
Posts: 396

One more: Win 7 won't run after Arch 64b install

Hi,
Just got a new 2 drive PC.
Partitioned drives, and then installed as follows:
1. Win 7 (64b) on sda1 (+more NTFS partitions)
2. Arch 64b (fully updated) on sdb1-/boot and sdb2 -/.
GRUB (NOT version 2) installed on sda.

While Win 7 appears in the (grub) menu, it will NOT load if selected.

Please advise!

Thanks!

Michael Badt
--------------------------

My disks partition scheme:

fdisk -l /dev/sda
Disk /dev/sda: 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: 0x000979f1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   153597464    76798701    7  HPFS/NTFS
/dev/sda2       153597465   255995774    51199155   83  Linux
/dev/sda3       255995775  2897515529  1320759877+   7  HPFS/NTFS
/dev/sda4      2897515530  2930272064    16378267+   5  Extended
/dev/sda5      2897515593  2915942084     9213246   82  Linux swap / Solaris
/dev/sda6      2915942148  2930272064     7164958+  83  Linux
[root@myhost miki]# fdisk -l /dev/sdb

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63       64259       32098+  83  Linux
/dev/sdb2           64260    24643709    12289725   83  Linux
/dev/sdb3        24643710  2328637814  1151997052+  83  Linux
/dev/sdb4      2328637815  2930272064   300817125    5  Extended
/dev/sdb5      2328637878  2779196804   225279463+   7  HPFS/NTFS
/dev/sdb6      2779196868  2797623359     9213246    7  HPFS/NTFS
/dev/sdb7      2797623423  2930272064    66324321   83  Linux
================================================

my /etc/fstab

# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/sda1 windows ntfs-3g defaults 0 1
/dev/sda2 linux_backup xfs defaults 0 1
/dev/sda3 photos ntfs-3g defaults 0 1
/dev/sda5 swap swap defaults 0 0
/dev/sda6 /var reiserfs defaults 0 1
/dev/sdb1 /boot ext2 defaults 0 1
/dev/sdb2 / ext4 defaults 0 1
/dev/sdb3 /home ext4 defaults 0 1
/dev/sdb5 lr_cat ntfs-3g defaults 0 1
/dev/sdb7 images_sda xfs defaults 0 1
==========================================================

and, finally, my /boot/grub/menu.lst

# (0) Arch Linux
title  Arch Linux
root   (hd1,0)
kernel /vmlinuz26 root=/dev/sdb2 ro
initrd /kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd1,0)
kernel /vmlinuz26 root=/dev/sdb2 ro
initrd /kernel26-fallback.img

# (2) Windows
title Windows
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
===============================================


Best regards,
Michael Badt

Offline

#2 2010-09-21 16:23:04

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: One more: Win 7 won't run after Arch 64b install

Methinks the problem is your Grub.  Does your Win7 boot, if you select that drive as primary through the BIOS?  If so read:

http://wiki.archlinux.org/index.php/Win … ard_Drives

Offline

#3 2010-09-21 16:32:50

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: One more: Win 7 won't run after Arch 64b install

Thanks,
But:
1. As can be seen my Windows is on the FIRST drive (sda)
2. I'd rather not use Windows boot loader.

Any more tips?

Thanks


Best regards,
Michael Badt

Offline

#4 2010-09-21 16:39:24

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: One more: Win 7 won't run after Arch 64b install

mibadt wrote:

Thanks,
But:
1. As can be seen my Windows is on the FIRST drive (sda)
2. I'd rather not use Windows boot loader.

Any more tips?

Thanks

You don't need to use the Windows bootloader, you only need to fool Windows into thinking it is the primary drive in the boot order, by adding:

map (hd0) (hd1)
map (hd1) (hd0)

per the Wiki section I linked to.  Windows throws a fit when it knows it is not the 1st thing in the bootorder in the BIOS.

Offline

#5 2010-09-22 04:54:54

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: One more: Win 7 won't run after Arch 64b install

Thanks,
I'll give map a try, although I still don't understand why do I need map as my Windows is installed on the FIRST drive.


Best regards,
Michael Badt

Offline

Board footer

Powered by FluxBB