You are not logged in.
Hi there,
yesterday, I've installed Arch on an external USB-drive that is connected to my laptop (out of pure curiosity). I've started the new ISO-image from an USB-stick.
The installation went pretty well, but now I have a little problem - because of the USB-drives .
The situation: As long as the USB-stick is connected to the laptop I can start Arch from the external USB-drive. If I remove the stick Arch doesn't start any longer because the USB-"syntax" (can I say that?) has changed.
If both drives are connected: The stick is /dev/sdb and the harddrive is /dev/sdc
If I remove the stick, the harddrive becomes /dev/sdb and won't be mounted any longer.
During the installation I've created the partitions with the "-L" switch:
# mkfs.ext2 -L "Boot" /dev/sdc1
# mkfs.ext4 -L "Root" /dev/sdc5
# mkfs.ext4 -L "Home" /dev/sdc7
# mkswap -L "Swap" /dev/sdc6
The fstab-entries look like this example:
# UUID=6f639e1d-9cef-4830-b30e-3b74ce121b04 LABEL="Root"
/dev/sdc5 / ext4 rw,relatime,data=ordered 0 1
So question: Would it be sufficient to work on /etc/fstab and change all /dev/sdc to /dev/sdb? Or can I simply use the existing UUIDs?
Last edited by swordfish (2012-07-26 20:11:09)
Arch_x64 on Thinkpad Edge E520 (Intel Core i5, 4 GB RAM, 128 GB Crucial M4 SSD) + ITX-Desktop (Asrock H77M-ITX, Intel Core i3-2120T, 8GB RAM, 64 GB Samsung 830 SSD)
Offline
It should be good if you use UUID for your usb stick.
"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)
Offline
UUIDs or labels are always preferable to /dev/sd*, because the latter can change, as in your case.
Offline
Switched to the UUIDs - works fine
Arch_x64 on Thinkpad Edge E520 (Intel Core i5, 4 GB RAM, 128 GB Crucial M4 SSD) + ITX-Desktop (Asrock H77M-ITX, Intel Core i3-2120T, 8GB RAM, 64 GB Samsung 830 SSD)
Offline