DSL Ideas and Suggestions :: About the checkfs cheatcode



Out of interest I tried checkfs on a USB boot (DSL 3.4rc1), here's what I got:
Code Sample
fsck 1.34-WIP
e2fsck 1.34-WIP
/dev/sda1: clean, 701/126976 files, 410611/506908 blocks
{RED} Standby System rebooting... {NORMAL}
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
/usr/bin/cleanMyDSL.sh line 12: cd: /home/dsl/: No such file or directory
ls: .xtdesktop/*.lnk: No such file or directory
No icons found
Cannot open file .jwmrc: No such file or directory
Cannot open file .xtdesktop/.xtdeskrc No such file or directory
Shutting down PCMCIA devices
...
Prepare for reboot
Wait for CD to eject, then remove CD, close cdrom drive then press enter

If I press enter, then the cycle repeats.

Don't get me wrong, I 'm not saying this should work on a USB boot - anyway it is easy to boot from a second USB stick and run a file system check on the first USB stick.

I will try this on a frugal hd installation in a couple of days time - does the script /KNOPPIX check differentiate between USB and frugal hd installs?

I stand corrected on this and will add a check for boot parameter "checkfs".  I guess since it was rebooting I originally did not think it a big deal.

Note, it works with frugal but you need to add the boot option "toram" in order to check the device from which you booted from. Otherwise that device is busy and is ignored. Which is what would be expected.

I have been using this feature on my thinkpad 240, which has no floppy, no cdrom and no bootable usb. I have a checkfs and toram as a grub menu item, which I ocassionally run.

Quote
I have a checkfs and toram as a grub menu item, which I ocassionally run.

Aaah-it's not going to be so easy on a lilo boot then...

How about that line in livecd syslinux F3 page?

original here.