You are not logged in.

#1 2008-11-26 16:41:57

york824
Member
Registered: 2008-11-26
Posts: 77

Help: Cannot boot Windows with GRUB

here is the strangest thing i have ever met:

I cannot boot my Windows system after I installed Archlinux, which took me a huge amout of time

I think the menu.lst file has no problem, the windows lines as follow:

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

The weird thing is that I can mount any other ntfs partitions but /dev/sda1, which contains the windows os

when I try to mount it, the error is as follow:

[mntent]: warning: no final newline at the end of /etc/fstab
WARNING: Couldn't set locale to 'zh_CN.UTF-8' thus some file names may not
         be correct or visible. Please see the potential solution at
         http://ntfs-3g.org/support.html#locale
Error opening '/dev/sda1': Permission denied
Failed to mount '/dev/sda1': Permission denied
Please check '/dev/sda1' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
http://ntfs-3g.org/support.html#unprivileged

But with the same settings in /etc/fstab ,  I can mount other ntfs partitions, why???

I think the two problems above should be related

Offline

#2 2008-11-26 17:04:26

york824
Member
Registered: 2008-11-26
Posts: 77

Re: Help: Cannot boot Windows with GRUB

bash-3.2# /sbin/fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb8e8fcbb

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1305    10482381    7  HPFS/NTFS
/dev/sda2            1306        2611    10490445    5  Extended
/dev/sda3            2612        6397    30411045    7  HPFS/NTFS
/dev/sda4            6398       19452   104864287+   7  HPFS/NTFS
/dev/sda5            1306        1371      530113+  82  Linux swap / Solaris
/dev/sda6   *        1372        2024     5245191   83  Linux
/dev/sda7            2025        2611     4715046   83  Linux

here is my partition information

Offline

#3 2008-11-26 17:57:06

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: Help: Cannot boot Windows with GRUB

whats your /etc/fdisk?

Offline

#4 2008-11-26 18:24:29

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: Help: Cannot boot Windows with GRUB

Hmmm....

Your menu.lst file looks fine to me, so as you thought I doubt the problem is inlikely to lie there. Have you tried restoring the MBR and booting windows directly. It sounds like there may be a problem with the NTFS partition itself, in which case you would probably need to reinstall windows. Although I cannot think of any reason why the install would cause that.

Offline

#5 2008-11-26 18:45:54

york824
Member
Registered: 2008-11-26
Posts: 77

Re: Help: Cannot boot Windows with GRUB

Sic,
I have been using this windows system for years, while for the last few years I also use ubuntu and some other linux systems , they all get alone very well with this windows.
So I don't really think there's any problem with this partition.

Zariel,
I don't see a fdisk file in /etc , what's that?

Offline

#6 2008-11-26 18:56:10

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: Help: Cannot boot Windows with GRUB

I think he means the /etc/fstab file, but that would neither affect grub booting the partition, nor would it stop you mounting the drive manually...

Just because you've been using the system for a while doesn't mean that something can't go wrong... I'd still check the partition with an XP cd, just to be sure... You don't have to reinstall, just go to the recovery console and check everything is working, by looking through the filesystem.

Offline

#7 2008-11-26 20:27:55

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: Help: Cannot boot Windows with GRUB

york824 wrote:
[mntent]: warning: no final newline at the end of /etc/fstab

Insert an empty line at the end of your /etc/fstab file, and this warning message should disappear.

Last edited by Zibi1981 (2008-11-26 20:28:25)


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#8 2008-11-27 10:21:56

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Help: Cannot boot Windows with GRUB

york824 wrote:
bash-3.2# /sbin/fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb8e8fcbb

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1305    10482381    7  HPFS/NTFS
/dev/sda2            1306        2611    10490445    5  Extended
/dev/sda3            2612        6397    30411045    7  HPFS/NTFS
/dev/sda4            6398       19452   104864287+   7  HPFS/NTFS
/dev/sda5            1306        1371      530113+  82  Linux swap / Solaris
/dev/sda6   *        1372        2024     5245191   83  Linux
/dev/sda7            2025        2611     4715046   83  Linux

here is my partition information

And I would advise to remove the bootable attribute from sda6, I doubt windows will like to "see" its own partition and another one marked as bootable, even if it's a logic partiton.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB