Linux tip: Finding rootfs during boot
Mar 12, 2009, 17:01 (0 Talkback[s])
(Other stories by Lei Jiang)
[ Thanks to An Anonymous Reader for
this link. ]
"The root file system (named rootfs in our sample error
message) is the most basic component of Linux. A root file system
contains everything needed to support a full Linux system. It
contains all the applications, configurations, devices, data, and
more. Without the root file system, your Linux system cannot run.
"You may have experienced the cannot mount rootfs error
(followed by your Linux host getting a kernel panic) after you
reboot your system. This will most likely happen after you have
attached some storage volumes from external storage. Or, it can
also happen when you have finished copying files and need a reboot
to finish installation.
"If this happens, your system will not restart. It could take
time to troubleshoot this problem and fix it. This set of tips
should help you solve the problem and save time.
"Another culprit could be the fact that your Linux kernel needs
to mount the root file system, but it can't find the target device.
In other words, your root file system doesn't show up where it is
supposed to be. For example, you install your Linux root file
system on disk /dev/sda, but your system can't mount it during
reboot. There are two possible reasons for this:"
- Overview of RAMFS and TMPFS on Linux(Mar 10, 2009)
- Video: Ted Ts'o on Ext4, BtrFS and first steps with Linux(Feb 26, 2009)
- Ext4 (Kernel Newbies Overview)(Feb 26, 2009)
- File System Management Is Headed for Trouble(Feb 24, 2009)
- Aligning filesystems to an SSD's erase block size(Feb 23, 2009)
- Anatomy of ext4(Feb 18, 2009)
- The hairy state of Linux filesystems(Feb 12, 2009)
- Understanding the Linux Directory Layout(Feb 05, 2009)
- Kernel Newbies on Ext4(Dec 27, 2008)
- Review: Parted Magic 3.3(Dec 18, 2008)
- Three Graphical Mount Managers(Dec 02, 2008)