Linode Forum
https://forum.linode.com/

Can't mount filesystem after Ubuntu 9.04 -> 9.10 upgrade
https://forum.linode.com/viewtopic.php?f=20&t=5276
Page 1 of 2

Author:  sumowrestler [ 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/ubunt ... mic-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.

Author:  aleph0 [ 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.

Author:  aleph0 [ 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.


:)

Author:  caker [ 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

Author:  sumowrestler [ Mon Mar 15, 2010 4:20 pm ]
Post subject: 

Quote:
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:
Quote:
I used the paravirt kernel as instructed here:
http://blog.linode.com/2009/10/30/ubunt ... mic-koala/

Author:  rvl [ Wed Mar 24, 2010 5: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

Author:  sumowrestler [ Wed Mar 24, 2010 10: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!

Author:  jed [ Thu Mar 25, 2010 9:59 am ]
Post subject: 

Quote:
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?

Author:  sumowrestler [ Thu Mar 25, 2010 4: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.

Author:  smitty825 [ Sat Apr 17, 2010 12:46 pm ]
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!

Author:  hoopycat [ Sat Apr 17, 2010 1: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.

Author:  obs [ Sat Apr 17, 2010 5: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 :)

Author:  smitty825 [ Sun Apr 18, 2010 2:35 pm ]
Post subject: 

Quote:
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

Author:  beejeebus [ Thu Apr 29, 2010 2:49 am ]
Post subject: 

i had this issue, was fixed by adding

dev /dev tmpfs rw 0 0

to /etc/fstab.

Author:  abackstrom [ Wed Oct 06, 2010 1: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.

Page 1 of 2 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/