Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 03-21-2009, 10:24 AM   #1
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,339

Rep: Reputation: 55
Is there a way to manually create a file system error? So the disk will prompt you t

Is there a way to manually create a file system error? So the disk will prompt you to go into maintenance mode upon rebooting?
Old 03-21-2009, 10:55 AM   #2
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 44
You can use tune2fs on ext3 to cause the disk to be checked at the next boot, using the option -C for instance to cheat and tell the system that the FS has been mounted too many times... still, this should not cause the system to go to maintenance mode.
If you want that, you can try to change the file /etc/fstab (a bit dangerous if you're not experienced in using it).
Change the filesystem type of the partition you want to fail, (I suppose /), and change from its real filesystem (e.g. ext3) to a wrong one (e.g. vfat). This should do the trick.
To repair the problem, you will need a livecd or something like this, maybe the maintenance mode won't allow you to repair. Be careful!


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't create folder in file system using file browser aarav2306 Linux - Newbie 5 03-03-2009 02:36 AM
System collapse without kernel panic when copy file to a sata-disk or usb-disk JammyWei Linux - Embedded & Single-board computer 0 12-25-2008 09:21 PM
Disk Error in Raid array file system inode tables. jpbland51 Linux - Newbie 6 05-21-2008 07:27 AM
no login prompt - suse 9.3 x64: installation disk to boot into installed system? shshjun SUSE / openSUSE 2 02-18-2006 12:00 AM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 08:45 AM

All times are GMT -5. The time now is 07:42 PM.

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