You are not logged in.
Pages: 1
Hi everyone.I have installed Arch linux.But I can't boot.Cause in the end of the installation,I have installed grub to sda1,not sda.How can I re-install grub in Arch Linux 2010.5 ? And how can I know,is Arch installed correctly?
(when I look with Backtrack live cd,there are two partition.I have created /-root partition and /home partition.
There is my disk status :
Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1216 9767488+ 83 Linux
/dev/hda2 4463 10010 44564279+ f W95 Ext'd (LBA)
/dev/hda3 2517 2760 1952768 82 Linux swap
/dev/hda4 1217 2517 10447264 83 Linux
/dev/hda5 4463 10010 44564278+ 7 HPFS/NTFS
Partition table entries are not in disk order
Disk /dev/sda: 2003 MB, 2003828736 bytes
64 heads, 32 sectors/track, 1911 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 324 331776 17 Hidden HPFS/NTFS
Disk /dev/sda1: 339 MB, 339738624 bytes
64 heads, 32 sectors/track, 324 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1p1 * 1 324 331776 17 Hidden HPFS/NTFS
Last edited by Erbil (2011-02-06 18:00:42)
Offline
http://lmgtfy.com/?q=How+to+install+Grub
Most live CDs, including the Arch install disk, will come with the utilities needed to install Grub, if you get any error code back then Google that error code to see what it means, if there are no errors then grub-install will report "Grub successfully installed".
Offline
How can I know Arch Linux grub version ?(grub,grub2?) Or can I use,which I want?
https://wiki.archlinux.org/index.php/Gr … B.27s_root
https://wiki.archlinux.org/index.php/Gr … to_the_MBR
I have tried to write mbr with this method.But this method get me an error message ;
BOOTING 'Arch Linux'
root DEVICE NOT FOUND
ERROR 11 : Unrecognized device string
Last edited by Erbil (2011-02-05 14:08:40)
Offline
As far as I understand you have two disks.
1 - /dev/hda with several partitions, where /dev/hda1 and /dev/hda4 are linux partitions.
2 - /dev/sda with windows partitions
Is that right?
Where is /boot directory?
Where is / (root) directory?
I can only guess. /dev/hda1 seems to be 10GB size, so it is possible you have / and /boot in the same partition. Perhaps /dev/hda4 is /home partition (??) Is it?
BOOTING 'Arch Linux'
root DEVICE NOT FOUND
ERROR 11 : Unrecognized device string
This seems you didn't write root partition correctly in menu.lst
If this is the case, check if /boot/grub/menu.lst contains:
# (0) Arch Linux
title Arch Linux [/boot/vmlinuz26]
root (hd0,0)
kernel /vmlinuz26 root=/dev/hda1 ro
initrd /kernel26.img
As you see, boot points to root partition in /dev/hda1
You can use ArchLinux CD to check this.
If /boot is in /dev/hda1 you have to call grub (as root) like that:
# grub
>root (hd0,0) ==> this means, root partition is in the first partition of the first disk.
>setup (hd0) ==> grub is saved on the MBR of the first disk.
>quit
Now try to reboot without ArchLinux CD.
How can I know Arch Linux grub version ?(grub,grub2?)
# grub --version
Offline
Thank you.I've installed grub and checked menu.lst file.There was something wrong.So I fixed it.And now,I'm in Arch.
Offline
Pages: 1