You are not logged in.
Pages: 1
Hi,
I'm a newbie and just now finished installing Arch linux on a fresh partition along with windows XP.
I created 2 partitions - /boot and /
then wrote grub on to /boot.
Uncommented the windows lines before writing.
# (1) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1Didn't make any other modifications. But when I restart my computer it just goes into Win XP.
Please help me out here. 
Regards,
Onie
Offline
Please post the whole grub.
Offline
How do i do that? I'm in Win XP and I couldn't go into Linux. How do I view grub from my HD?
Offline
You can e.g. use a liveCD / liveUSB.
Offline
yes... I logged in using live cd. But what I see inside /boot/grub/menu.lst is the temporary image created by this live cd, right? Not what I actually installed in my boot partition. I get this doubt because I un-comment the windows lines in grub but when i restart i still see it commented.
# 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)
#
#  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
#  http://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  [/boot/vmlinuz26]
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img
# (1) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1Also my boot partition was logical drive. It was not primary would that been a problem.
Regards,
Onie
Offline
You should have Arch Linux Fallback image too:
# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/bf1d191b-0f0d-4961-bd67-4d032a2e5873 ro
initrd /kernel26-fallback.imgDid you disable it?
Logical partition is fine.
You should be able to go to dev/sda3 or wherever you have your /boot to see the grub/menu.lst.
What's the output of fdisk -l?
Offline
I mounted /boot partition (dev/sda6 in my system). Here is my grub/menu.lst
# 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)
#
#  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
#  http://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,5)
kernel /vmlinuz26 root=/dev/sda7 ro
initrd /kernel26.img
# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,5)
kernel /vmlinuz26 root=/dev/sda7 ro
initrd /kernel26-fallback.img
# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1Offline
Does it make a difference if you comment out the line "makeactive" for Windows?
Offline
Does it make a difference if you comment out the line "makeactive" for Windows?
doesn't help/
Offline
http://forums.opensuse.org/english/get- … ost2111379
Takeaway:: install grub to MBR.
https://wiki.archlinux.org/index.php/GR … stallation
GRUB must be installed on the MBR (first sector of the hard disk), or the first partition of the first storage device to be recognized by most BIOS's.
https://wiki.archlinux.org/index.php/GR … B.27s_root
https://wiki.archlinux.org/index.php/GR … to_the_MBR
Offline
Output for fdisk -l
Disk /dev/sda: 40.1 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2e822e81
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1275    10241406    c  W95 FAT32 (LBA)
/dev/sda2            1276        4870    28876837+   f  W95 Ext'd (LBA)
/dev/sda5            1276        3073    14442403+   b  W95 FAT32
/dev/sda6            3074        3091      144553+  83  Linux
/dev/sda7            3092        4870    14289786   83  LinuxLast edited by onie (2011-05-28 06:28:25)
Offline
https://wiki.archlinux.org/index.php/GR … stallation
GRUB must be installed on the MBR (first sector of the hard disk), or the first partition of the first storage device to be recognized by most BIOS's.
I installed GRUB in MBR following the instructions given above. And it worked!!! Thanks.
Offline
just one more question.
when I try 
shutdown +0the sigterm and sigkill signals are sent by it again goes to the prompt waiting for user login.
It doesn't shutdown!!!
Offline
Some people are reporting problems with shutting down / rebooting, check the forums for details:
https://bugs.archlinux.org/24480
https://bbs.archlinux.org/viewtopic.php?id=119355
I still can 'sudo shutdown -h now' just fine.
Offline
thanks it worked. :-)
Offline
Pages: 1