You are not logged in.

#1 2011-09-21 23:45:55

TehBanz
Member
Registered: 2011-09-08
Posts: 6

[SOLVED] Windows missing from grub after install

Greetings everyone!

Installed Arch a few weeks ago and havnt looked back, havnt even WANTED to boot into windows. However, now I want to. I want to go back into windows to resize my windows partition to teeny-tiny and make my arch partition reeally big smile and there is a too that I like to use for that that I am really comfortable with called Easus Partition Manager. I've tried doing this myself but haven't had any luck. Here are the results of fdisk -l and my /boot/grub/menu.lst

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0x161e658e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848  1544440904   772117028+   7  HPFS/NTFS/exFAT
/dev/sda3      1544440905  1935061379   195310237+  83  Linux
/dev/sda4   *  1935061380  1953525167     9231894   82  Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#  /dev/sda2	   (hd0,3)

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux
root   (hd0,2)
kernel /boot/vmlinuz-linux root=/dev/sda3 ro
initrd /boot/initramfs-linux.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,2)
kernel /boot/vmlinuz-linux root=/dev/sda3 ro
initrd /boot/initramfs-linux-fallback.img

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

Thanks for looking! And thanks for all the help the Arch community has already provided me.

Last edited by TehBanz (2011-09-30 03:17:55)

Offline

#2 2011-09-22 01:02:23

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Windows missing from grub after install

your windows root is incorrect. grub is 0 based.

so your entry should be (hd0,0) for disk 1 partition 1 assuming that sda1 has the windows boot files


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-09-22 05:39:34

fredo1664
Member
From: Ireland (but I'm French)
Registered: 2011-08-09
Posts: 29

Re: [SOLVED] Windows missing from grub after install

Also, I am quite sure you cannot boot Windows if chainloader +1 is commented.

Last edited by fredo1664 (2011-09-22 05:40:49)


I'm French and French people can't speak English, so please please please excuse the terrible English!

Offline

#4 2011-09-22 07:14:09

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Windows missing from grub after install

Also, I would like to recommend gparted for partitioning. It's really simple and intuitive to use.

Offline

#5 2011-09-30 03:17:37

TehBanz
Member
Registered: 2011-09-08
Posts: 6

Re: [SOLVED] Windows missing from grub after install

wahoo, thanks mates, that got me in just fine, for reference.

in device name conversions changed

/dev/sda        (hd0)  to
/dev/sda1      (hd0,0)

rootnoverify (hd0,3)  to
rootnoverify (hd0,0)

#chainloader +1  to
chainloader +1

however x33a, i believe i'm going to take your advice and give gparted a try, i hear so much nice things about it and would love to know more!

Offline

Board footer

Powered by FluxBB