You are not logged in.
Pages: 1
hi,
i am unable to boot into arch after installing it from a usb stick.
grub simply says "error:file not found" and drops me to a "grub rescue" prompt. i was surprised because i remember seeing "grub was successfully installed" during installation.
after booting into a live cd of mint, i tried to use cfdisk which showed
FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder
Press any key to exit cfdisk
"fdisk -l" gives this output :
mint@mint /mnt/sda1/grub $ sudo fdisk -l
Disk /dev/sda: 120.1 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 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: 0x0000cf25
Device Boot Start End Blocks Id System
/dev/sda1 * 1 8 64228+ 83 Linux
/dev/sda2 9 3655 29294527+ 83 Linux
/dev/sda3 3656 4263 4883760 83 Linux
/dev/sda4 4264 14597 83003392 5 Extended
this is the way i assigned the partitions during installation:
sda1 ---> 64mb ---> /boot
sda2 ---> 30000mb ---> /root
sda3 ---> 5000mb ---> /home
i added the remaining space as an extended partition (sda4), while in mint.
Upon checking menu.lst, i found that the boot entries took the uuid of my /root partition instead of my /boot partition (no idea of how that happened). i changed them to the correct uuid but i am still getting the same error.
i have conducted fsck checks on all 3 partitions and they are all clean (no corruption of files).
these are the files in my boot partition:
mint@mint /mnt/sda1 $ ls
diag1.img kernel26-lts-fallback.img System.map26-lts
grub kernel26-lts.img vmlinuz26
kernel26-fallback.img lost+found vmlinuz26-lts
kernel26.img System.map26
mint@mint /mnt/sda1 $
These are the files in my grub partition
mint@mint /mnt/sda1/grub $ ls
e2fs_stage1_5 jfs_stage1_5 stage1 vstafs_stage1_5
fat_stage1_5 menu.lst stage2 xfs_stage1_5
ffs_stage1_5 minix_stage1_5 stage2_eltorito
iso9660_stage1_5 reiserfs_stage1_5 ufs2_stage1_5
mint@mint /mnt/sda1/grub $
and, this is my menu.lst file (after editing):
# 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,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/c4dd42b0-d79e-4add-a215-3293b5fa0526 ro
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/c4dd42b0-d79e-4add-a215-3293b5fa0526 ro
initrd /kernel26-fallback.img
# (2) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1
does anybody have an idea as to howto fix this? i have been on linux for only 5 months now, and cant think of anything further to do, so any kind of help would be welcome.
Offline
This is a silly question. but what did you install grub to as far a an MBR goes?
Were you sure to install to /dev/sda (hard-drive,) and not the usb drive?
Offline
Also, are you presented the opportunity to edit grub by pressing E when the screen comes up?
If so, try to edit the line with hd0 to:
root (hd0,1) to see if that allows you to boot.
Offline
hi arch1_user,
sorry, i couldnt reply earlier. i have managed to install arch from a cd. i must have tried installing from the usb stick like 20 times, but the installer kept frustrating me every time with the same error. except once, when i let arch manage my partitions during installation, it created 4 primary partitions and predictably aborted immediately. so i am guessing its a cfdisk problem from a corrupt usb install.
in case you are curious, i did install grub onto /dev/sda and not onto /dev/sdb (my usb stick). i didnt get to try the second suggestion as i was successfully installing arch by that time.
thanks for the help.
Offline
Are you still frustrated because of cfdisk which gives you something like this:
FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder
Press any key to exit cfdisk
Here, I'm trying to install archlinux on a pendrive and I get almost the same error when trying to manually format the disk. The only difference is that it mention partition 0 instead of partition 3... I guess there is a bug in the livecd?
I'm having this problem with archlinux-2010.05-core-i686.iso.
Last edited by manouchk (2011-04-02 19:06:00)
Offline
Pages: 1