You are not logged in.
Pages: 1
hello everyone, this is my first post!
I'm French so, sorry for my bad english.
I'm trying to install archlinux on a usb key but it doesn't work.
let's start from the beginning:
I installed arch on a usb key from an other usb key and everything went good.
On the key there are 3 partitions,  one for grub, one for home and the last one for / 
my fstab looks like that:
#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0
dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
UUID=a1b02f17-aebe-4ed4-9f01-4280382c59d6 / ext4 defaults 0 1
UUID=039fdce3-a0ce-4b9c-b234-17ae88283f76 /home ext4 defaults 0 1
UUID=2226c55c-2b79-4d59-9b80-935681db8db1 /boot ext2 defaults 0 1then, i configured grub like that:
#  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
insmod ext2
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/a1b02f17-aebe-4ed4-9f01-4280382c59d6 ro
initrd /kernel26.img
# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/a1b02f17-aebe-4ed4-9f01-4280382c59d6 ro
initrd /kernel26-fallback.img
# (2) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1I followed accurately the wiki (Installing_Arch_Linux_on_a_USB_key)
When I boot on the usb key, grub show up but when i try to launch archlinux:
Waiting 10 seconds for device /dev/sdc/
Root device '/dev/disk/by-uuid/my-uuid' doesn't exist.  Attempting to create it.
ERROR:  Unable to determine major/minor number of root device '/dev/disk/by-uuid/my-uuid'
You are being dropped to a recovery shell
     Type 'exit' to try and continue booting
/bin/sh: Can't contact tty;  job control turned off
[ramfs /]#into rams I did "cat /proc/scsi/scsi" and i see my optical drive and my hard drive but no usb key!!!
What's wrong?Did I miss something?
Last edited by mask (2011-05-18 09:04:44)
Offline
In case you didn't know there's a French Arch community http://forums.archlinux.fr/
Does it literally say 'dev/disk/by-uuid/my-uuid' or e.g. /dev/disk/by-uuid/2226c55c-2b79-4d59-9b80-935681db8db1 ?
Offline
I know there is a French forum but I thought that my problem could be solved quicker here! 
And I also want to practice a bit my English. 
The exact error code is:
Waiting 10 seconds for device /dev/disk/by-uuid/a1b02f17-aebe-4ed4-9f01-4280382c59d6
Root device '/dev/disk/by-uuid/a1b02f17-aebe-4ed4-9f01-4280382c59d6' doesn't exist.  Attempting to create it.
ERROR:  Unable to determine major/minor number of root device '/dev/disk/by-uuid/a1b02f17-aebe-4ed4-9f01-4280382c59d6'
You are being dropped to a recovery shell
     Type 'exit' to try and continue booting
/bin/sh: Can't access tty;  job control turned off
[ramfs /]#Offline
Does udev-168-2 in testing fix it?
Offline
Are you talking about udev-compat 168-2 from core?
core/udev 168-2 is already installed on my system.
Offline
Offline
I already  did it... 
mkinitcpio.conf:
HOOKS="base udev usb usbinput ide autodetect pata scsi sata filesystems"then I make a chroot like that:
 sudo mount -t proc proc /media/a1b02f17-aebe-4ed4-9f01-4280382c59d6/proc/
 sudo mount -t sysfs sys /media/a1b02f17-aebe-4ed4-9f01-4280382c59d6/sys/
 sudo mount -o bind /dev /media/a1b02f17-aebe-4ed4-9f01-4280382c59d6/dev/
sudo chroot /media/a1b02f17-aebe-4ed4-9f01-4280382c59d6/into the chroot:
mount -a
mkinitcpio -p kernel26I don't have any error messages!
Offline
Problem solved \o/.
I forgot the line "mount -a" before mkinitcpio.
Now everything works perfectly!
thanks.
Offline
Pages: 1