You are not logged in.

#1 2011-02-12 07:41:59

vav
Member
Registered: 2011-02-12
Posts: 4

Booting Arch Linux from usb flash [SOLVED]

I have instaled Arch Linux on usb flash (filesystem is ext2) I have regenerated initrd (mkinitcpio -p) with usb hook (HOOKS="base udev usb ide scsi sata filesystems"), but Arch Linux stop booting with error:  unable mount dev/disk/by-uuid/my-uuid After  pressing Control-D  in recovery shell  Caps Lock and Scroll Lock leds blink on my keyboard
I have tried booting  from label (dev/disk/by-label/my-label) I have got same error
Please help me

PS Please forgive me for my English

Last edited by vav (2011-02-13 12:42:59)

Offline

#2 2011-02-12 11:48:22

PIMPinator
Member
From: Queensland, Australia
Registered: 2010-03-14
Posts: 85

Re: Booting Arch Linux from usb flash [SOLVED]

Are you using GRUB, and where is it installed? On a local hdd, or the flash drive?

Offline

#3 2011-02-12 14:39:55

vav
Member
Registered: 2011-02-12
Posts: 4

Re: Booting Arch Linux from usb flash [SOLVED]

Yes I am using grub. Arch linux is installed on the usb flash drive

Last edited by vav (2011-02-12 14:41:21)

Offline

#4 2011-02-13 07:25:14

PIMPinator
Member
From: Queensland, Australia
Registered: 2010-03-14
Posts: 85

Re: Booting Arch Linux from usb flash [SOLVED]

Sorry, I meant where is GRUB installed. Also, can you post your menu.lst file?

Offline

#5 2011-02-13 08:02:30

vav
Member
Registered: 2011-02-12
Posts: 4

Re: Booting Arch Linux from usb flash [SOLVED]

GRUB is installed on the usb flash drive
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   (hd2,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/1e3753e6-01f4-4153-a36a-07a81c552ee0 ro 
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd2,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/1e3753e6-01f4-4153-a36a-07a81c552ee0 ro
initrd /boot/kernel26-fallback.img

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

Last edited by vav (2011-02-13 08:06:27)

Offline

#6 2011-02-13 09:57:16

PIMPinator
Member
From: Queensland, Australia
Registered: 2010-03-14
Posts: 85

Re: Booting Arch Linux from usb flash [SOLVED]

You should remove the root (hd2,0) lines as they are unnecessary when using uuid's. Maybe that will help.

Sorry for the wait, archlinux.org wouldn't load for me.

Offline

#7 2011-02-13 12:40:33

vav
Member
Registered: 2011-02-12
Posts: 4

Re: Booting Arch Linux from usb flash [SOLVED]

Thank you  very much. It is working

Last edited by vav (2011-02-13 12:43:12)

Offline

#8 2011-02-13 14:31:56

PIMPinator
Member
From: Queensland, Australia
Registered: 2010-03-14
Posts: 85

Re: Booting Arch Linux from usb flash [SOLVED]

Glad to help.

Offline

Board footer

Powered by FluxBB