You are not logged in.
Pages: 1
I was able to install arch linux on a 2 GB flash drive. But I cannot boot into arch linux from the grub menu. I greeted by a message like "error 15 file not found"
my menu.lst file looks like
# 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
# 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 (hd1,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/9157e8a3-c1bd-499a-95fe-524cd9c07d0e ro
initrd /initramfs-linux.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd1,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/9157e8a3-c1bd-499a-95fe-524cd9c07d0e ro
initrd /initramfs-linux-fallback.img
# (2) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1
/etc/fstab file looks like
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
#UUID=15eb5a8a-dddc-4b28-8183-f81d450b78d5 swap swap defaults 0 0
#UUID=9157e8a3-c1bd-499a-95fe-524cd9c07d0e / ext3 defaults 0 1
#UUID=aae9fb61-b5ec-40b5-a3dd-232c9a77f29b /boot ext2 defaults 0 1
#UUID=f1a9a9ad-8344-4eb5-be91-1af155c756e4 /home ext3 defaults 0 1
UUID=15eb5a8a-dddc-4b28-8183-f81d450b78d5 swap swap defaults 0 0
UUID=9157e8a3-c1bd-499a-95fe-524cd9c07d0e / ext3 defaults 0 1
UUID=aae9fb61-b5ec-40b5-a3dd-232c9a77f29b /boot ext2 defaults 0 1
UUID=f1a9a9ad-8344-4eb5-be91-1af155c756e4 /home ext3 defaults 0 1
and result of #blikd is
/dev/sda1: UUID="edc30674-5e24-46ae-865c-647b5af6a1ca" TYPE="ext4"
/dev/sda5: UUID="8045e664-17ad-4bfd-8b5e-56d7f17fbcdd" TYPE="swap"
/dev/sdb1: UUID="aae9fb61-b5ec-40b5-a3dd-232c9a77f29b" TYPE="ext2"
/dev/sdb2: UUID="15eb5a8a-dddc-4b28-8183-f81d450b78d5" TYPE="swap"
/dev/sdb3: UUID="9157e8a3-c1bd-499a-95fe-524cd9c07d0e" TYPE="ext3"
/dev/sdb4: UUID="f1a9a9ad-8344-4eb5-be91-1af155c756e4" TYPE="ext3"
Offline
Here is the result of my fdisk -l /dev/sdb
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 100 102384 83 Linux
/dev/sdb2 101 356 262144 82 Linux swap / Solaris
/dev/sdb3 357 1533 1205248 83 Linux
/dev/sdb4 1534 1926 402432 83 Linux
Last edited by manish411 (2012-01-14 05:24:14)
Offline
If you are booting from the flash drive then the root device might be identified as (hd0,0) instead of (hd1,0)
Offline
Thnx that worked. But what is the meaning of the above. I mean (hd0,0) means the hard disk , and I am booting from from (hd1,0), the usb flash drive
Offline
Pages: 1