LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-27-2003, 01:57 PM   #1
jhilgeman
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
/boot is empty after kernel upgrade


Okay, I used to be on kernel 2.4.9-31 and wanted to upgrade to the latest, 2.4.22.

I configured the kernel, made everything, and did make install. Updated lilo.conf, keeping my old kernel as a boot option. I even went another step and made a complete copy of my /boot directory and saved it as /bootbackup

So everything looked right, I rebooted, and it came up fine. Seems great until I check out my boot logs to see if there's any problems. The first problem seems to be here:

kernel: Cannot find map file.

So I go check out the /boot directory and it's completely empty except for one file: kernel.h! No old kernel, no new kernel, nothing. So I go back to the logs and keep looking. I see this line:

kernel: Kernel command line: auto BOOT_IMAGE=linux ro root=303 BOOT_FILE=/boot/vmlinuz-2.4.22

So I figure, ok - well it referenced the new kernel file, so it must be able to see it somehow. It must still exist... So I keep going through the log file. Next error I see is:

EXT2-fs warning (device ide0(3,3)): ext2_read_super: mounting ext3 filesystem as ext2

Then immediately:

VFS: Mounted root (ext2 filesystem) readonly.

And then a little further down, 3 lines right in a row:

modprobe: modprobe: Can't locate module ext3

mount: mount: fs type ext3 not supported by kernel

netfs: Mounting other filesystems: failed


I check df -Th:


Filesystem Type Size Used Avail Use% Mounted on
/dev/hda3 ext3 54G 20G 31G 38% /
none tmpfs 251M 0 251M 0% /dev/shm


Then I cat /proc/mounts:


rootfs / rootfs rw 0 0
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0


And finally, I cat /etc/fstab:


LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0


I went back and realized that I did not enable the journal ext3 in the kernel config, which is probably the source of the mounting problems. I checked out my previous bootup logs and it looks like the previous kernel had it enabled and was using that filesystem.

However, I'm still not sure why my /boot directory looks empty. I don't know if it's really empty or if there's just something that prevents me from seeing its contents...

I DO have /bootbackup, which is an exact replica of my previous kernel's /boot directory, but I don't know if I should overwrite my /boot directory with it or do what. I'm worried that if the /boot directory is still OK and I can't see its contents - I don't want to overwrite the invisible contents with /bootbackup and have things fail on me.

Suggestions, advice? Help please!

- Jonathan
 
Old 08-27-2003, 05:28 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
There's no /boot mounteed at your /cat/mounts list. That's why it'e empty. Kernel booted from it but was unable to mount it (because it was ext3). When you boot old kernel, everything will be OK. Just compile again with ext3 support.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/bus/usb#...empty, after upgrade to 2.6.10 wombat53 Slackware 5 07-23-2005 05:54 PM
couldn't boot after upgrade kernel longnam Slackware 4 04-13-2005 03:07 AM
Empty terminal [command line] with no text after kernel upgrade to 2.6.7 whencat Red Hat 7 07-09-2004 04:59 PM
can,t boot slack after kernel upgrade. little_ball Slackware 3 03-30-2004 07:40 PM
ext3 volume empty after up2date kernel upgrade mankan_plankan Red Hat 2 10-06-2003 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration