You are not logged in.

#1 2012-09-14 19:49:16

betrunkenaffe
Member
Registered: 2012-03-15
Posts: 26

[SOLVED] Cannot boot after upgrade

It's been a while since I upgraded on my laptop so I had a number of compounding issues I had to work through (systemd, glibc, filesystem) but I got them all fixed and everything was updated (and working). However when I rebooted the system, it can't mount /dev/sda3 and drops me in a recovery console. I figured no problem, toss in cd and then mount manually and fix initramfs/grub... this is where I ran into issues.

I cannot boot from CD, the laptop just spins the disk like crazy and if I eject it, it starts up grub.

I was thinking of figuring out a way of getting the install disk on usb and running from that but in meantime, is there any way to fix this issue via the recovery console? I tried mounting /dev/sda3 however the mount doesn't accept ext2/ext3/ext4 filesystem types as valid so won't mount it.

Any suggestions will be greatly appreciated.

Thank you

Last edited by betrunkenaffe (2012-09-19 15:50:49)

Offline

#2 2012-09-14 23:21:09

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED] Cannot boot after upgrade

What's /dev/sda3? /boot? /?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2012-09-14 23:26:57

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Cannot boot after upgrade

What's on the CD? There's no reason why a failed upgrade should make your laptop unable to boot from CD.

Offline

#4 2012-09-15 13:01:48

betrunkenaffe
Member
Registered: 2012-03-15
Posts: 26

Re: [SOLVED] Cannot boot after upgrade

I think the DVD/CD drive is buggered, it's 100% unrelated to the problem. Unfortunately it does block one of the main paths for resolution (there wouldn't be a post if it wasn't for that issue).

/dev/sda3 I believe is /

I can't be sure until I get it mounted because I thought /dev/sda1 was /
The system drops out to recovery console after failing to mount /dev/sda3 though, I believe the issue came from when I installed the new linux kernel, I think it didn't properly update initramfs and instead messed it up.

I'm really looking for assistance with the recovery console because mount doesn't seem to function the way it normally does and I don't know if there is any functionality that I could still use within it to try and fix the messed up system.

Offline

#5 2012-09-15 21:58:53

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED] Cannot boot after upgrade

Just to be clear: are you getting dropped to a grub rescue shell (if you're using grub) or to a linux rescue shell? Are you getting to the grub menu (if you boot that way)?

Is /boot a separate partition?

Do you boot in bios or uefi mode?

Does the disk use a gpt or mbr partition map?

It's not hard to create a bootable usb key if you've got access to a computer to make one (and a key, of course). Is that an option?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2012-09-15 23:55:33

betrunkenaffe
Member
Registered: 2012-03-15
Posts: 26

Re: [SOLVED] Cannot boot after upgrade

Linux rescue shell, I have a dual boot system and the Windows side boots fine.

No separate boot partition.

Not sure tbh.

mbr

I know, I just need to install unetbootin or something of that nature on the Windows side and burn the disk to a spare usb. Once I boot of the usb, I know I can fix it by mounting the drives and repairing the damage. I'd really like to try and fix it with the Linux rescue since it feels odd to have a recovery/rescue option if booting fails that is useless...

Offline

#7 2012-09-16 02:18:26

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED] Cannot boot after upgrade

So what command exactly do you try to mount /dev/sda3 with and what error do you get?

Does df work? If so, what does df -h show is mounted already?

If you don't have a separate /boot and you've got the linux rescue shell, does that mean that / is mounted?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#8 2012-09-19 15:50:23

betrunkenaffe
Member
Registered: 2012-03-15
Posts: 26

Re: [SOLVED] Cannot boot after upgrade

Used image writer to create bootable usb, booted off it, corrected problems by re-installing linux and remade mkinitcpio. I then proceeded to break by upgrading grub to grub2..

Considering this is an old but basic install that I was trying to update, just reinstalling for simplicity sake.

Offline

Board footer

Powered by FluxBB