| Author |
Message |
sumowrestler
Joined: 06 Mar 2010
Posts: 4
|
| Posted: Sat Mar 06, 2010 2:55 pm Post subject: Can't mount filesystem after Ubuntu 9.04 -> 9.10 upgrade |
|
|
I was on 8.04 for over a year, and decided to upgrade. I followed the instructions to go version-by-version, and made it to 9.04 with mostly no trouble.
After upgrading to 9.10, I'm unable to boot. I used the paravirt kernel as instructed here:
http://blog.linode.com/2009/10/30/ubuntu-9-10-karmic-koala/
This is what my Lish console says:
Code:
NET: Registered protocol family 17
NET: Registered protocol family 15
Bridge firewalling registered
Ebtables v2.0 registered
ebt_ulog: out of memory trying to call netlink_kernel_create
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
SCTP: Hash tables configured (established 8192 bind 8192)
registered taskstats version 1
unknown partition table
blkfront: xvdb: barriers enabled
xvdb: unknown partition table
XENBUS: Device with no driver: device/console/0
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with writeback data mode.
VFS: Mounted root (ext3 filesystem) readonly on device 202:0.
Freeing unused kernel memory: 496k freed
Write protecting the kernel read-only data: 7192k
init: ureadahead main process (991) terminated with status 5
mount: mount point /dev/pts does not exist
mountall: mount /dev/pts [1001] terminated with status 32
mountall: Filesystem could not be mounted: /dev/pts
mount: mount point /dev/shm does not exist
mountall: mount /dev/shm [1002] terminated with status 32
mountall: Filesystem could not be mounted: /dev/shm
mount: mount point /dev/pts does not exist
mountall: mount /dev/pts [1006] terminated with status 32
mountall: Filesystem could not be mounted: /dev/pts
mount: mount point /dev/shm does not exist
mountall: mount /dev/shm [1007] terminated with status 32
mountall: Filesystem could not be mounted: /dev/shm
init: mountall main process (996) terminated with status 4
Mount of root filesystem failed.
A maintenance shell will now be started.
|
|
| Back to top |
|
aleph0
Joined: 08 Mar 2010
Posts: 2
|
| Posted: Mon Mar 08, 2010 1:12 pm Post subject: I messed up too |
|
|
I went ahead and did a
do-release-upgrade
without thinking.
Now of course the system doesn't boot. The Linode Console gave me a bunch of mountall errors. I need to get into some sort of rescue system.
Now I need help :(
The /boot directory is empty, there is no grub or lilo to edit. I have no networking so I cannot do much from within the system.
I really messed up. I'm sorry.
Can anyone help me?
a. |
|
| Back to top |
|
aleph0
Joined: 08 Mar 2010
Posts: 2
|
| Posted: Mon Mar 08, 2010 1:31 pm Post subject: I posted too early |
|
|
So just FYI, here is what I had to do.
In the Linode Manager dashboard, edit the profile of the host.
Choose the latest paravit kernel from the pull-down menu.
reboot.
:) |
|
| Back to top |
|
caker
Joined: 15 Apr 2003
Posts: 2878
Location: Galloway, NJ
|
| Posted: Mon Mar 08, 2010 1:36 pm Post subject: |
|
|
Click on your Linode, click on the config profile, choose "Latest Paravirt" from the kernel drop-down, save, and reboot. Done.
-Chris |
|
| Back to top |
|
sumowrestler
Joined: 06 Mar 2010
Posts: 4
|
| Posted: Mon Mar 15, 2010 3:20 pm Post subject: |
|
|
caker wrote: Click on your Linode, click on the config profile, choose "Latest Paravirt" from the kernel drop-down, save, and reboot. Done.
Already tried that - see original post:
sumowrestler wrote: I used the paravirt kernel as instructed here:
http://blog.linode.com/2009/10/30/ubuntu-9-10-karmic-koala/
|
|
| Back to top |
|
rvl
Joined: 24 Mar 2010
Posts: 1
Location: Perth
|
| Posted: Wed Mar 24, 2010 4:36 am Post subject: |
|
|
hi,
I had the same problem. I think it is either wrong kernel installed or a wrong initrd.
1. log in to rescue shell
2. mount -o remount,rw /
3. mkdir /var/run/network
ifup eth0
Networking required for apt-get. I was missing /var/run/network after upgrade, not sure why.
4. apt-get install linux-image-virtual
This will provide the right kernel and run update-initramfs. It will fail but that's enough to get a normal boot.
5. reboot
6. apt-get -f install
To complete the kernel installation.
Cheers |
|
| Back to top |
|
sumowrestler
Joined: 06 Mar 2010
Posts: 4
|
| Posted: Wed Mar 24, 2010 9:32 pm Post subject: |
|
|
rvl,
This worked! In addition to your instructions, I also ran
Code: apt-get update
before
Code: apt-get install linux-image-virtual
because some of the packages 404'd.
My server is back up! |
|
| Back to top |
|
jed
Joined: 28 Mar 2009
Posts: 394
Location: New Jersey
|
| Posted: Thu Mar 25, 2010 8:59 am Post subject: |
|
|
sumowrestler wrote: rvl,
This worked! I had to run
Code: apt-get update
before
Code: apt-get install linux-image-virtual
because some of the packages 404'd.
My server is back up!
Wait, that fixed it? Are you running pv-grub? |
|
| Back to top |
|
sumowrestler
Joined: 06 Mar 2010
Posts: 4
|
| Posted: Thu Mar 25, 2010 3:35 pm Post subject: |
|
|
Quote: Wait, that fixed it? Are you running pv-grub?
I don't know if I'm running pv-grub. I ran the full list of commands that rvl suggested, not just the ones I mentioned in my previous post. I edited my post to clarify this. |
|
| Back to top |
|
smitty825
Joined: 24 Mar 2006
Posts: 12
|
| Posted: Sat Apr 17, 2010 11:46 am Post subject: |
|
|
I'm now getting a similar issue. I'm upgrading from karmic to lucid using do-release-upgrade.
Whenever I boot the system using the latest paravirt kernel (Latest 2.6 Paravirt (2.6.32-x86_64-linode11)), I am unable to get to the recovery console, as the console prints out some text, then goes into a loop where three or four mountall errors are printed constantly.
Here is the startup sequence below (I apologize for any spelling mistakes, as I'm copying this from a screenshot and not able to copy-paste)
Code:
EXT3-fs: mounted filesystem with writeback data mode.
VFS: Mounted root (ext3 filesystem) readonly on device 202:0.
Freeing unused kernel memory: 496k freed
Write protecting the kernel read-only data: 7192k
init: ureadahead main process (987) terminated with status 5
init: ureadahead-other main process (996) terminated with status 4
init: ureadahead-other main process (997) terminated with status 4
then, I get into the mountall loop
Code:
mountall: mount [6378] terminated with status 32
mou
uld not be mounted:
mountall: Skipping mounting since Plymouth is not available
does not exist
mountall: mount [6379] terminated with status 32
mountall: Filesys
nted:
mountall: Skipping mounting since Plymouth is not available
mount: mount p
mountall: mount [6380] terminated with status 32
mountall: Filesystem could not
: Skipping mounting since Plymouth is not available
mount: mount point does not
t [6381] terminated with status 32
I can get to the recovery image using finnix, however, I don't know what to do in there, as update-initramfs will create a ramfs for the finnix kernel, and not the one I want to boot! |
|
| Back to top |
|
hoopycat
Joined: 30 Aug 2008
Posts: 1137
|
| Posted: Sat Apr 17, 2010 12:31 pm Post subject: |
|
|
Hmmm, what's in your /etc/fstab? It sounds like something weird is in there. This is probably going to be a different problem than the 9.04 -> 9.10 upgrades.
Note that 10.04 is still in beta, so there's a nonzero chance you hit some random bug at the wrong time... if worse comes to worse, revert to the image you cloned prior to attempting the upgrade and try it again in a few days. |
|
| Back to top |
|
obs
Joined: 07 Mar 2010
Posts: 1296
Location: Earth
|
| Posted: Sat Apr 17, 2010 4:29 pm Post subject: |
|
|
| Yeah don't go to lucid yet until linode have an image out for it, that way you know it'll work :) |
|
| Back to top |
|
smitty825
Joined: 24 Mar 2006
Posts: 12
|
| Posted: Sun Apr 18, 2010 1:35 pm Post subject: |
|
|
hoopycat wrote: Hmmm, what's in your /etc/fstab? It sounds like something weird is in there. This is probably going to be a different problem than the 9.04 -> 9.10 upgrades.
Note that 10.04 is still in beta, so there's a nonzero chance you hit some random bug at the wrong time... if worse comes to worse, revert to the image you cloned prior to attempting the upgrade and try it again in a few days.
Thanks for the help...
Just in case someone else runs into this problem, the looping occurred because I had an error in my /etc/fstab |
|
| Back to top |
|
beejeebus
Joined: 29 Apr 2010
Posts: 3
|
| Posted: Thu Apr 29, 2010 1:49 am Post subject: |
|
|
i had this issue, was fixed by adding
dev /dev tmpfs rw 0 0
to /etc/fstab. |
|
| Back to top |
|
abackstrom
Joined: 23 Sep 2008
Posts: 1
Location: Wentworth, NH
|
| Posted: Wed Oct 06, 2010 12:51 pm Post subject: |
|
|
Saw a similar issue when upgrading from Ubuntu 8.04 to 10.04:
Code: libudev: udev_monitor_new_from_netlink: error getting socket: Invalid argument
mountall:mountall.c:3206: Assertion failed in main: udev_monitor = udev_monitor_new_from_netlink (udev, "udev")
init: mountall main process (782) killed by ABRT signal
General error mounting filesystems.
I added the dev line to /etc/fstab, which did not fix the problem in and of itself. Switching the kernel from stable to paravirt did get me back up and running. I have not tried booting with paravirt and without the dev entry in fstab. |
|
| Back to top |
|
| |