LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   reboot during 12.04 upgrade - help - glibc 2.14 not found - raid (http://www.linuxquestions.org/questions/linux-desktop-74/reboot-during-12-04-upgrade-help-glibc-2-14-not-found-raid-942614/)

geekyhawkes 04-30-2012 04:22 PM

reboot during 12.04 upgrade - help - glibc 2.14 not found - raid
 
I was upgrading my xubuntu machine and during the install it rebooted (no idea why), when it started back up i get the following:

mountall: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14 not found.

Ive searched around and it would seem i can fix it with a live cd and copy across the missing file, problem is the drives weere on mdadm RAID and ive no idea how to get the raid back up after booting the live cd.

Ive tried mdadm --detail /dev/md0 but of course it comes back file not found, likewise if i try ls -l /dev/md i get nothing as the Live cd install doesnt have any knowledge of my raid.

Whats the mdadm equivilant to mount /dev/sda1? Anyone help me please? Im pretty sure my RAID stripe was built as /dev/md0 and the install spread accross the 2 drives. I have the GRUB partition on a seperate 1GB partition which i do have access to if that helps?

Thanks for any help,

Andy

stobbsm 04-30-2012 11:18 PM

had the same issue with my upgrade. I solved it by booting an older kernel in rescue mode, starting a shell, activating networking and running dpkg --configure -a as root.

Fixed my problems. I also know why my system rebooted. I had a ppa activated for a system package (cant remember which) that conflicted with the Canonical version.

geekyhawkes 05-01-2012 03:23 AM

Thanks, i had tried that before but i get the following:

Dpkg: error: unable to access dpkg status area: read only file system

stobbsm 05-01-2012 03:27 AM

Quote:

Originally Posted by geekyhawkes (Post 4667304)
Thanks, i had tried that before but i get the following:

Dpkg: error: unable to access dpkg status area: read only file system

Before running dpkg, runt
Code:

mount -o remount,rw /
That will remount root in read-write mode. You'll have to make sure you mount every other file system as well (except for /home, if it's on a lone partition).

Once dpkg stops giving you errors, and everything completes, you can reboot into 12.04.

geekyhawkes 05-01-2012 03:33 AM

Thanks for your help, when you say everyother file system, sorry for being thick but i only had one raid stripe setup and the 1gb non raid grub partition, so would the mount -o remount, rw / have mounted what i need ( like mount all?)

I didnt get too many errors from dpgk, so do i just apt-get dist-upgrade now to get my machine back?

Should i worry about the dpkg errors;

Module-init-tools
Grub-common
Mountall
Libplymouth2
Plymouth-label
Plymouth
Upstart
Grub-pc
Busybox-initramfs
Grub2-common

Thanks again!

geekyhawkes 05-01-2012 05:09 AM

Ignore me, rebooted into sort of 12.04 and just re running the dkpg / install -f now.

Thanks so much, just when you think you know how to use a tiny bit of linux you get a curve ball!

stobbsm 05-01-2012 05:14 AM

It happens to the best of us! It's stable as can be in the end, but Canonical really needs to work on it's upgrade process.

kmadar75 05-22-2012 07:18 AM

Thanks
 
Thanks man. You saved my life. :hattip:

Quote:

Originally Posted by stobbsm (Post 4667306)
Before running dpkg, runt
Code:

mount -o remount,rw /
That will remount root in read-write mode. You'll have to make sure you mount every other file system as well (except for /home, if it's on a lone partition).

Once dpkg stops giving you errors, and everything completes, you can reboot into 12.04.



All times are GMT -5. The time now is 10:16 PM.