You are not logged in.

#1 2014-11-24 20:23:34

marko90
Member
Registered: 2011-12-04
Posts: 8

[Solved] Grub configuration (grub.cfg) no Windows 8 menuentry

Hi! How should one generage grub.cfg for Windows 8 on old hardware? A PC is over 4 years old. Grub-mkconfig gives nothing for a ntfs partition with Windows 8.

Last edited by marko90 (2014-11-24 21:01:26)

Offline

#2 2014-11-24 20:38:35

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [Solved] Grub configuration (grub.cfg) no Windows 8 menuentry

I ran grub-mkconfig on a system with Windows 10 installed on it today and it successfully detected and provided a menu entry for it (albeit identified as "Windows 7").

Did you install GRUB to your MBR?

# grub-install --target=i386-pc --recheck /dev/sda

https://wiki.archlinux.org/index.php/Be … guide#GRUB

If you have done this already, please post the output of:

# parted -l

EDIT: I'm presuming you're using a non-EFI system.

Last edited by Head_on_a_Stick (2014-11-24 20:39:20)

Offline

#3 2014-11-24 20:40:24

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 217

Re: [Solved] Grub configuration (grub.cfg) no Windows 8 menuentry

Show bootinfoscript output:
http://sourceforge.net/projects/bootinfoscript/ .

Show also output:

os-prober

Offline

#4 2014-11-24 20:47:56

marko90
Member
Registered: 2011-12-04
Posts: 8

Re: [Solved] Grub configuration (grub.cfg) no Windows 8 menuentry

Thanks a lot for the replies. Here they are:

[root@localhost ~]# parted -l
Model: ATA WDC WD1600BEVT-6 (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  21.0GB  21.0GB  primary  ext4
 2      21.0GB  157GB   136GB   primary  ntfs            boot
 3      157GB   160GB   2625MB  primary  linux-swap(v1)
[root@localhost ~]# os-prober 
  /dev/cdrom: open failed: No medium found
  /dev/sdb: open failed: No medium found
  No volume groups found
/dev/sda2:Windows 8 (loader):Windows:chain

Offline

#5 2014-11-24 20:50:13

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Grub configuration (grub.cfg) no Windows 8 menuentry

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2014-11-24 20:50:36

marko90
Member
Registered: 2011-12-04
Posts: 8

Re: [Solved] Grub configuration (grub.cfg) no Windows 8 menuentry

And yes, I've got grub on MBR and can load from it just do not have required menu entry.

Offline

#7 2014-11-24 20:57:29

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [Solved] Grub configuration (grub.cfg) no Windows 8 menuentry

marko90 wrote:

Thanks a lot for the replies. Here they are:

[root@localhost ~]# parted -l
Model: ATA WDC WD1600BEVT-6 (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  21.0GB  21.0GB  primary  ext4
 2      21.0GB  157GB   136GB   primary  ntfs            boot
 3      157GB   160GB   2625MB  primary  linux-swap(v1)

You do not have the main Windows partition on your system, just the boot partition.
There should be a second ntfs partition with no boot flag...

EDIT: I think so anyway -- that's how my Windows partitions show up on an MBR BIOS system.

Last edited by Head_on_a_Stick (2014-11-24 20:58:54)

Offline

#8 2014-11-24 21:00:35

marko90
Member
Registered: 2011-12-04
Posts: 8

Re: [Solved] Grub configuration (grub.cfg) no Windows 8 menuentry

Got it solved, my gratitudes. I guess os-prober installation helped here.

Offline

Board footer

Powered by FluxBB