Clay wrote:
> Hi all,
> I have a serious problem in that I seem to have lost my hard drive
> partitions.
> My distro is fedora core 3.
> I was trying to add a new removable drive, by doing the following:
> # mkfs -t ext3 /dev/hdd1
> then added a line to /etc/fstab thus:
> /dev/hdd1 / ext3 pamconsole 1 1
Do you realize this would mount /dev/hdd1 to your root directory?
There's no way I can think of that you didn't already have something
mounted at / Do you don't seem to understand the format of fstab. The
fields are:
Device
Mount point
File System
Options
Dump
Pass
You set the mount point to /, rather than some empty directory.
Usually, the /mnt directory contains directories to mount stuff in, like
/mnt/cdrom or /mnt/floppy.
> Because I didn't want this drive to mount at boot, I didn't use the
> auto option. Pamconsole was the option for devices that had to
> manually be mounted, so I used that. (Maybe a serious error?)
If it doesn't mount automatically, then it has to be manually mounted.
It's either auto or noauto in the option field. I'm not sure that
pamconsole even did anything. I've never seen it in a mount command before.
> Issuing the command <mount /hdd1> returned the message </ is busy, or
> hdd1 does not exist>.
This doesn't surprise me. You already had a drive mounted at /
> In order to not leave things in a messy state, I deleted the line I
> had added to /etc/fstab, because this wasn't working and I figured I'd
> need to learn some more about what I was attempting before proceeding.
> However, after attempting to reboot, I am getting messages telling me
> I have no linux partitions. This seems a bit weird, because in the
> earliest part of the boot sequence from hard drive, the fedora logo
> appears and all hard drives are listed before error messages appear.
The logo is probably in the master boot record, which isn't a part of
any partition, and it may have been the BIOS that saw the hard drives.
Seeing hard drives and not the partitions on them is not surprising.
> The error messages that appear during boot are:
> ERROR: /bin/lvm exited abnormally!
> mount: error 6 mounting ext3
> mount: error 2 mounting none
> switchroot: mount failed: 22
> umount: /introd/dev failed: 2
introd? Is that a typo?
> kernel panic - not syncing: Attempted to kill init!
>
> I have booted into a shell using the rescue cd, and tried adding /hda1
> to the /etc/fstab file thus:
> /dev/hda1 ext3 auto 1 1
Now you're just missing the mount point, instead of setting it to
something unusable.
> If anybody has suggestions for how to restore whatever I have broken,
> please help. I would be very much obliged to any-one offering help. If
> any other info is needed to clarify, please ask explicit questions.
Can you post the contents of your /etc/fstab and your partioning scheme
(what partitions you have, what hard drives you have, and what's on each
partition [swap, linux, windows, etc.])? I think that would be a good
start. Please be precise. Typos can make a huge difference in whether
the computer would understand the syntax or not.
Chad Martin
To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be
removed.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/