LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Odd Ubuntu hoary boot time error

[ILUG] Odd Ubuntu hoary boot time error

Niall O Broin niall at archivease.com
Wed Jun 1 09:24:48 IST 2005


When I boot an Ubuntu hoary box which has a jfs root filesystem, I 
encounter a couple of errors at boot time which seem benign, but are 
nonetheless puzzling. Extract from dmesg:

Restarting tasks... done
VFS: Can't find ext3 filesystem on dev sda2.
VFS: Can't find an ext2 filesystem on dev sda2.
Adding 971924k swap on /dev/sda4.  Priority:-1 extents:1


Not finding an ext[23] filesystem on sda2 isn't at all surprising, 
because there isn't one there - it's the root filesystem, and is JFS. 
But why on earth is an ext[23] filesystem even being looked for?

So, a little spelunking and I came across this in /sbin/init on the 
initrd:

rootfstype=*)
        fstype=${i#rootfstype=}
        ;;
esac
done
if [ -n "$fstype" ]; then
        mount -n${ro}t "$fstype" ${flags:+-o "$flags"} $device /mnt

That and a little googling (very little info. there) led me to try 
adding

rootfstype=jfs

to the grub kernel line. That then made me very glad I was using grub 
rather than lilo as it failed to boot at all - claimed it couldn't find 
a root filesystem. A quick edit of the command line in the grub shell, 
and I was sorted (not forgetting to edit menu.lst when the box booted 
:-) )


As I said, the error is relatively benign, but I'd not mind getting rid 
of it.


Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell