[mdlug] More External Drive Problems
David Relson
relson at osagesoftware.com
Wed Feb 6 07:32:59 EST 2008
On Tue, 5 Feb 2008 22:34:29 -0800 (PST)
Elisa Gomez wrote:
> I have an amazing ability to exponentially cause more
> problems for myself. This occurred because I think I
> edited a some file to permanently name my drive (I
> named it 'franz') instead of having it rename itself a
> different thing each time it gets remounted. Someone
> on this list gave directions on how to do this, but
> for the life of me I cannot remember what file I
> edited.
>
> When I shut down, unplug my laptop and start it back
> up with the drive physically disconnected, this is
> what happens during start-up:
>
> Activing swap... [OK]
> Checking root file system...
> fsck 1.40.2 (12-Jul-2007)
> /dev/sda2: clean, 210976/2093056 files,
> 1508440/4182924 blocks [OK]
>
> Checking file systems...
> fsck 1.40.2 (12-Jul-2007)
> fsck.ext2: Unable to resolve 'LABEL="franz"'
> fsck died with exit status 8 [fail]
>
> *File system check failed
> A log is being saved in /var/log/fsck/checkfs if that
> location is writeable.
> Please repair the file system manually.
> *A maintenance shell will now be started.
> CONTROL-D will terminate this shell and resume system
> boot.
> bash: no job control in this shell
> bash: groups: command not found
> bash: lesspipe: command not found
> bash: Command: command not found
> bash: The: command not found
> bash: dircolors: command not found
> bash: Command: command not found
> bash: The: command not found
> root at trotsky:~# *Stopping the Firestarter firewall...
>
>
> And then it would freeze up and pressing ctrl-d did
> nothing.
>
> I just recreated this again because I wanted to paste
> in the log results for everyone and this time it did
> continue with start-up after I pressed ctrl-d a couple
> of times. However, I'd prefer to fix it somehow so
> that it just checks to see if the drive is connected
> and if it's not, it carries on normally without
> breaking fsck. This is the log file:
>
> Log of fsck -C -R -A -a
> Wed Feb 6 01:27:15 2008
>
> fsck 1.40.2 (12-Jul-2007)
> fsck.ext2: Unable to resolve 'LABEL="franz"'
>
> fsck died with exit status 8
>
> Wed Feb 6 01:27:15 2008
> ----------------
>
>
> Any ideas? I really wish I could remember what file I
> added an entry to about the external drive.
>
> ~Elisa
H'lo Elisa,
All is not lost! The file is likely to be /etc/fstab. If not that
file, it's a file in directory /etc. Using grep's "-r" (recursive)
flag you can find the file by running "grep -n -r franz /etc".
HTH,
David
More information about the mdlug
mailing list