You are not logged in.

#1 2012-02-15 22:15:04

tacostick
Member
Registered: 2010-07-20
Posts: 27

[SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

So I made the mistake of updating my system without painstakingly checking the news/updates and possible error logs. I rebooted my computer this morning and:

Decompressing Linux...Parsing ELF...done.
Booting the kernel.
:: Running Hook [resume]
ERROR: Unable to find root device '/dev/sda3'.
You are being dropped to a recovery shell
     Type 'exit' to try and continue booting
sh: can't access tty; job control turned off
[rootfs /]#

This appears to be a pretty widespread problem today, as I've googled and searched the forums extensively and everyone is complaining about some udev to mkinitcpio movement or something.

I know what I need to do: either copy my files off my hard drive and reinstall, or chroot and downgrade my kernel, or chroot and reinstall udev, something like that.

Cool, so I need a liveCD. Unfortunately, my laptop lacks a CD drive (lenovo tablet). So I set out to make a USB bootable drive.

I tried it from Windows: my laptop didn't detect anything and kept kicking me back to the recovery shell. (Tried PartedMagic, Ubuntu, and Arch.)
I tried it from my school's Linux computers: Can't do *anything* without root. I tried sudo and for the first time in my life, the incident was reported and I got an email telling me not to try sudo again. Sweet.
I just tried it from my friend's Mac (the Arch x64 iso via Unetbootin): Now I get a blinking cursor when I boot from the USB.

What would you do? I'm at my wit's end here, and after using Archlinux for two years, this is giving me a MAJORLY bad taste in my mouth for the distro.

Last edited by tacostick (2012-02-15 23:33:13)

Offline

#2 2012-02-15 22:22:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

I have no idea what exactly did you update, so first check if /dev/sda3 is the correct setting, maybe you just need to edit grub's menu.lst.

Offline

#3 2012-02-15 22:25:39

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

Which livecd/usb did you use? One of testing?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2012-02-15 22:29:36

willbprog127
Member
Registered: 2011-11-09
Posts: 59

Re: [SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

tacostick wrote:

I'm at my wit's end here, and after using Archlinux for two years, this is giving me a MAJORLY bad taste in my mouth for the distro.

I am not one of the 'forum meanies', but I will point out that there are plenty of other distros out there if this one does not suit you.  Also, the 'extraneous' "Seriously, Arch?" probably won't win you a lot of answers.

Anyway, if I recall correctly, there is a kernel boot-time parameter you can use to set the USB timeout (when trying to boot from USB).  I'll research and try to post...

Offline

#5 2012-02-15 22:34:57

tacostick
Member
Registered: 2010-07-20
Posts: 27

Re: [SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

karol,
I can only change parameters from the grub menu, as far as I can tell, and I tried (hd0,{0,1,2,3,4}) and none of them worked. Only (hd0,0) gets me even as far as the recovery shell.

fsckd,
I'm using Unetbootin, which offers Core, Core_x64, Netinstall, and Netinstall_x64. Because I intend to chroot an x64 system, I tried core_x64.

willbprog127,
Yeah, you're right - sorry for being snarky. Thanks, please do let me know if you find that parameter.

I booted from the usb stick on one of my school's RHEL computers, and it says "no operating system detected". I'm...so...sad...why didn't unetbootin work...going to try to burn ubuntu again.

Offline

#6 2012-02-15 22:49:53

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

What is your grub line?

I have no idea why unetbootin didn't work. Try one of the other ways: https://wiki.archlinux.org/index.php/In … lash_drive


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#7 2012-02-15 22:55:08

tacostick
Member
Registered: 2010-07-20
Posts: 27

Re: [SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

root       (hd0,0)
kernel    /vmlinuz-linux root=/dev/sda3 ro video=vesafb:ywrap,mtrr:3 i915.i915_enable_rc6=1 resume=/dev/sda2
initrd      /initramfs-linux.img

To clarify, I'm 95% sure my disk layout is
/dev/sda
1: /boot
2: swap
3: /
4: /home

I'm trying dd via my friend's Macbook now, thanks for the link

Offline

#8 2012-02-15 23:01:25

tacostick
Member
Registered: 2010-07-20
Posts: 27

Re: [SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

So I tried booting without all of those kernel options, and with root=/dev/sdaN for N = {1,2,3,4}. No dice.

Edit: `dd` from the Mac worked on the RHEL machine. No luck on my laptop..it goes straight to Grub. Trying F2, F12, F10, anything for a boot menu...gee, a "press Fx for the boot menu" message would be great...

Edit again: I'M IN! Only took like seven reboots for the usb stick to be recognized. This stick must suck... I'm going to back up my data to an external drive, then go about trying to chroot and downgrade the kernel...

Last edited by tacostick (2012-02-15 23:07:19)

Offline

#9 2012-02-15 23:32:08

tacostick
Member
Registered: 2010-07-20
Posts: 27

Re: [SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

Okay - to those from the present or future still reading this, here's what went down:

I chrooted in to my system from the liveUSB, downgraded my kernel to the last working one, got the

ERROR: Hook 'udev' cannot be found

while mkinitcpio was doing its thing, and then ran:

# pacman -S udev
# pacman -S linux

All worked beautifully.

What have I learned? Wait till the weekend to update my system! Yeeeesh.... Thanks for your help, everyone! (although it looks like the bulk of the issue was this shitty USB drive).

Offline

#10 2012-07-14 23:36:14

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

Re: [SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

Hey! This was one heck'uva surgeons task! My patient died several times, lol.

Offline

#11 2012-07-15 01:25:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Seriously, Arch? Recovery shell, USB boot won't work

rusma: please resist the urge to post nonsense...

Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB