[App_rpt-users] e2fsck..... halted during boot
Benjamin L. Naber
Benjamin at kb9lfz.com
Tue Nov 19 03:59:43 UTC 2013
tune2fs does not work either. Says could not find superblock.
on another linux machine, I typed in info tune2fs and it states it is
for Linux file systems.
I don't care about that. I'd like to disable the file system checking
altogether so I can at least get the thing to boot.
presently, it still comes to a dead halt when the e2fsck warning comes
up.
Is there something I can modify in the SYSLINUX.cfg?
-or-
When it does get stuck on the e2fsck checktime warning, how long does it
*usually* take to let whatever program do it's job and then continue
booting?
-or-
when it does get stuck, beside mashing the power button and smoking a
cigarette, is there a key sequence I can use to troubleshoot or force
the machine to continue booting?
~Benjamin, KB9LFZ
On Mon, 2013-11-18 at 10:25 -0800, Joel wrote:
> Benjamin L. Naber wrote:
> > this is coming up when trying to boot a new install of Limey Linux
> >
> > last time I checked, e2fsck is for EXT2 and other Linux extensions, not
> > FAT.
> >
> > Booting comes to a dead halt when the e2fsck checktime has been
> > reached.
> >
> > Any way around this, or disable this checking when booting?
>
>
> I've never used any of these AllStar distro's - but I have admin's Linux servers for over 15 years and am just starting to play with AllStar. With that in mind, I can offer the following more generic Linux info...
>
> CD-ROM images are always in the iso9660 filesystem format - which is completly different than FAT/EXT2/3/4/etc. Doesn't matter what OS was used to create the img - or burn the CD. That format is only on the optical disc (or local loopback of the image file if you install that way). Typical thumb-drive images I've seen have a small FAT filesystem that boots and mounts the install iso image as lookback. The installer, as part of system setup/install formats the local storage device (typically /dev/hda or /dev/sda) in a Linux file format. These days either EXT2 (non-journaled) or EXT3/4 for journaling. This has no relation to the install media!
>
> If the init scripts detect a problem on any of the file systems which are to be mounted (i.e. system disks), as outlined in /etc/fstab they will abort and drop you to a single-user mode shell. This is the same as typing in "linux 1" on the grub boot line (or LILO on old distro's). The point is to leave the main system disks unmounted and allow you to repair them. Typically just running fsck will repair them. You will need to do this for each partition (logical or physical) that has a problem. It will typically prompt you about problems it finds - pay attention as fsck runs - you might have to answer "yes" many times! Might be good idea to run fsck on all filesystems while your in there. Afterwords, when you type "exit" from the single-user shell, the system will automatically reboot - and if all is well will boot back to Runlevel 3 or 5 depending on your init setup with your repaired filesystems mounted properly. This is full multi-user/normal mode of operation your used to.
>
> In some cases, if the file system is too damaged to even load the ramdisk - it will just die on boot. In that case you will need a rescue disk to boot from. Most distro's install disks offer a "rescue mode"... so just download/burn a current copy of Fedora/CentOS/etc and you can use them as a rescue tool - and don't need to even have that same distro installed! Just look at the install menu and see if they offer a rescue mode. Typically you just type "rescue" and hit enter. It will then load up a minimal system into a ramdisk with most drivers installed that will detect your disk controller and other devices. When it asks if you want to have it mount filesystems answer "N". Then once it drops you to a shell start "fsck.ext2 /dev/hda1"/etc on EACH of your filesystems.
>
> Finally, most filesystems in EXTx format are set to do full checking after so many months of being mounted and/or after X many boots. Those limits/trigger points are set using the "tune2fs" tool. Just run "man tune2fs".
>
> Joel
> N7GLV
>
>
>
>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
More information about the App_rpt-users
mailing list