You are not logged in.
Hi there,
I have a USB stick imaged with ARCH_201108 and I was hoping I can use the kernel on that to boot my existing Arch installation.
/dev/sda1: LABEL="xt" UUID="28a853a7-c93e-41d3-884a-e927c193f362" TYPE="ext4"
However when I try this it doesn't work. http://flic.kr/p/aygmtN
So how do I prepare some sort of rescue disk using Arch?
Many thanks,
Offline
Are you booting from your hard drive of from the USB?
Offline
From the USB stick. Lets pretend I b0rked my boot loader.
I think Ubuntu call this "rescue mode", though I want to do it it with Arch media.
Offline
I think the 'boot from existing installation' merely makes the live CD function as a bootloader.
You'll need to boot the live CD just as if you were installing and then mount your desktop partitions - that is, if your installation is broken and cannot boot. Still, the live CD is handy to do one on one backups (e.g. with dd).
Last edited by .:B:. (2011-10-23 18:35:51)
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Have a look at this wiki page.
Offline
You'll need to boot the live CD just as if you were installing and then mount your desktop partitions - that is, if your installation is broken and cannot boot. Still, the live CD is handy to do one on one backups (e.g. with dd).
What exactly is this "live CD" you refer to?
I still prefer to be able to boot straight into my partition...
Offline
Somewhat on topic... https://wiki.archlinux.org/index.php/Gr … UB2_Screen
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
.:B:. wrote:You'll need to boot the live CD just as if you were installing and then mount your desktop partitions - that is, if your installation is broken and cannot boot. Still, the live CD is handy to do one on one backups (e.g. with dd).
What exactly is this "live CD" you refer to?
I still prefer to be able to boot straight into my partition...
You boot what you can, liveUSB in your situation, I suppose. Next, you chroot into your regular install - Raynman provided the link to the relevant wiki article.
Offline
You boot what you can, liveUSB in your situation, I suppose. Next, you chroot into your regular install - Raynman provided the link to the relevant wiki article.
I don't want to chroot in, I want to boot straight in from the kernel on the USB... why can't I do that?
Offline
Somewhat on topic... https://wiki.archlinux.org/index.php/Gr … UB2_Screen
Don't want to boot an ISO. Off-topic.
Offline
The SystemRescueCD does this, you could see how it does it. I was also doing this with a USB hard drive, though admittedly it was a clone of the installed drive.
Last edited by JamieKitson (2011-10-24 08:57:13)
Offline
I have a USB drive that I carry with me witha 4GB NTFS partition and a full installation of Arch. You need to fire up a working linux system, plug the USB drive in and mount it edit /etc/mkinitcpio.conf and add the "usb" tag to the HOOKS section, bind mount /sys, /dev, and /proc to its own sys, dev, and proc directories, chroot into it, and run mkinitcpio -p linux. On the console, the session would look something like this:
mount /dec/sdb1 /media/usb
vim /media/usb/etc/mkinitcpio.conf
... add "usb" to the HOOKS section ...
for a in sys dev proc; do mount --bind /$a /media/usb/$a; done
chroot /media/usb
mkinitcpio -p linux
... verify everything went okay ...
exit
for a in sys dev proc ""; do umount /media/usb/$a; done
This will make the Arch vmlinuz usb-aware when it's looking for a root device.
Last edited by synthead (2011-10-25 14:45:06)
Offline
For the record I repaired my system using the chroot method which I thought was a bit long winded.
Turned out there was a log file in /etc/modprobe.d that was making mkinitcpio choke.
How do I mark this SOLVED?
Offline