You are not logged in.

#1 2013-07-05 14:15:43

tomerye
Member
Registered: 2012-08-25
Posts: 13

fail to boot to windows after update

HI all after update after the move to /usr/bin i cant boot to windows.

at first i couldn't boot to arch, but found here the answer  did configfile /boot/grub/menu.lst.pacsave
and could boot to my arch. boot to windows didn't work it goes back to grub and i didn't saw any log.


this is fdisk output:
isk /dev/sda: 500.1 GB, 500106780160 bytes, 976771055 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 label type: dos
Disk identifier: 0x585dc9a6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   307199999   153496576    7  HPFS/NTFS/exFAT
/dev/sda3       307200000   756418749   224609375    7  HPFS/NTFS/exFAT
/dev/sda4       756418750   976771054   110176152+   5  Extended
/dev/sda5   *   756418813   756611529       96358+  83  Linux
/dev/sda6       756611593   815200584    29294496   83  Linux
/dev/sda7       815200648   976771054    80785203+  83  Linux

i rad in the forum that i need to move to grub2 so i did the following:
# pacman -S grub
# grub-install --recheck /dev/sda
pacman -S os-prober
# grub-mkconfig -o /boot/grub/grub.cfg

but when i choose window in the grub menu , the menu change to grub1 menu and when i choose windows again if faild to load windows and go back to grub without logs.
what can i do?
its windows8 if it matter.
thanks!

Offline

#2 2013-07-06 08:50:01

anon1054572
Member
Registered: 2012-04-14
Posts: 17

Re: fail to boot to windows after update

>but when i choose window in the grub menu , the menu change to grub1 menu

I'm not sure I understand this. You boot, first you see the grub2 menu, you choose windows, and then you see grub1 (the old version) menu? Or is it a typo?

It seems that os-prober fails in your case, follow the instructions from the wiki :

https://wiki.archlinux.org/index.php/Gr … S-MBR_mode


That's what I had to do to boot into windows 7 after the /bin/ update forced me to switch to grub2



Note : the instructions at the beginning are a bit confusing, what you need to to is :

Identify the partition with label [SYSTEM RESERVED] (with cfdisk for example) and mount it. The chosen mount point in the example from the wiki is /media/SYSTEM_RESERVED/ , one could simply mount to /mnt/ or any other directory...

Last edited by anon1054572 (2013-07-06 08:54:42)

Offline

#3 2013-07-06 10:56:09

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 470

Re: fail to boot to windows after update

i think os-prober needs the partition to be mounted

to add it to the grub2 files.

ezik

Offline

#4 2013-07-06 17:46:12

tomerye
Member
Registered: 2012-08-25
Posts: 13

Re: fail to boot to windows after update

"I'm not sure I understand this. You boot, first you see the grub2 menu, you choose windows, and then you see grub1 (the old version) menu? Or is it a typo?"
its not a typo! thats what happening!
now its not happen anymore i think it happen because i use the old menu.lst
i wrote the command :grub-menulst2cfg /boot/grub/menu.lst /boot/grub/grub.cfg


cfdisk cannot open the disk due to error anyway i think sda1 is the partition but i am getting error when trying to mount it

[tomer@tomer_pc_arch ~]$ sudo mount /dev/sda1 /mnt/tmp/
Unexpected clusters per mft record (-1).
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

i ran badsector on that partition and it didnt found eny error! damn!

any more ideas?

Last edited by tomerye (2013-07-06 18:30:45)

Offline

#5 2013-07-06 18:28:38

tomerye
Member
Registered: 2012-08-25
Posts: 13

Re: fail to boot to windows after update

oh regard the error in cfdisk it was because i didn't wrote sudo


                              Disk Drive: /dev/sda
                       Size: 500106780160 bytes, 500.1 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 60801

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
------------------------------------------------------------------------------
                                      Unusable                             1.05*
    sda1        Boot        Primary   HPFS/NTFS/exFAT                    104.86*
    sda2                    Primary   ntfs                            157180.50*
    sda3                    Primary   ntfs                            230000.00*
    sda5        Boot        Logical   ext4             [boot]             98.71*
    sda6                    Logical   ext4             [root]          29997.60*
    sda7                    Logical   ext4             [home]          82724.09*

Offline

#6 2013-07-07 18:49:11

anon1054572
Member
Registered: 2012-04-14
Posts: 17

Re: fail to boot to windows after update

>its not a typo! thats what happening!

It means something went wrong when you installed grub2. Did you get rid of /boot/grub (with old grub files) before running the GRUB2 grub-install?


Try this :

1. rename your grub directory to make it inactive

#mv /boot/grub /boot/grub-backup

2. install and configure again

# grub-install --recheck /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg

See what the effect is.

If you still can't boot to windows do the manual configuration from the wiki; if you couldn't mount sda1 try sda2, anyway try all NTFS partitions until you find the one with the bootmgr directory.

/dev/sda is not the "whole disk", it's the Master Boot Record, a special part of your disk where boot loaders are stored.

Last edited by anon1054572 (2013-07-07 18:50:03)

Offline

#7 2013-07-08 19:38:32

tomerye
Member
Registered: 2012-08-25
Posts: 13

Re: fail to boot to windows after update

i cant mount sda1
i used all options:

sudo mount -t exfat-fuse /dev/sda1 /mnt/tmp/
sudo mount  /dev/sda1 /mnt/tmp/
sudo ntfs-3g /dev/sda /mnt/tmp/
sudo mount -t vfat /dev/sda1 /mnt/tmp/

all give me error

Offline

#8 2013-07-08 20:26:07

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: fail to boot to windows after update

I have no idea why your system will not boot.  But there is a non-fuse exfat module that can be built against the 3.8, 3.9, and 3.10 headers.  From what I hear it is quite a bit more reliable than the exfat-fuse implementation, though I have never actually tried it myself (though I built it just just to test it).

Offline

#9 2013-07-09 07:39:42

tomerye
Member
Registered: 2012-08-25
Posts: 13

Re: fail to boot to windows after update

anon1054572 wrote:

>its not a typo! thats what happening!

It means something went wrong when you installed grub2. Did you get rid of /boot/grub (with old grub files) before running the GRUB2 grub-install?


Try this :

1. rename your grub directory to make it inactive

#mv /boot/grub /boot/grub-backup

2. install and configure again

# grub-install --recheck /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg

See what the effect is.

If you still can't boot to windows do the manual configuration from the wiki; if you couldn't mount sda1 try sda2, anyway try all NTFS partitions until you find the one with the bootmgr directory.

/dev/sda is not the "whole disk", it's the Master Boot Record, a special part of your disk where boot loaders are stored.

i created new brug dir and do all the commands and still do not recognize my windows installation. also coudnt mount the sda1 partition.

Offline

#10 2013-07-09 22:09:48

anon1054572
Member
Registered: 2012-04-14
Posts: 17

Re: fail to boot to windows after update

have you tried to mount sda2 and see what it contains? My sda1 is some enigmatic ntfs partition that won't mount either and the boot manager (windows bootloader stage 2) is on sda2.

Offline

#11 2013-07-11 13:32:00

tomerye
Member
Registered: 2012-08-25
Posts: 13

Re: fail to boot to windows after update

thank you!!!! i succeeds!!!

Offline

#12 2013-07-19 12:56:37

anon1054572
Member
Registered: 2012-04-14
Posts: 17

Re: fail to boot to windows after update

glad it worked, you can mark the thread [solved]

Offline

Board footer

Powered by FluxBB