Mikkel L. Ellertson wrote:
SnapafunFrank wrote:

Mikkel L. Ellertson wrote:

Rosemary McGillicuddy wrote:


Frank suggested I install explore2fs and post the fstab file.

Here it is

/dev/hda5 / ext3 defaults 1 1
/dev/hda9 /home ext3 defaults 1 2
/dev/hda6 /mnt ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-15,ro 0 0
none /proc proc defaults 0 0
/dev/hda7 swap swap defaults 0 0
/dev/hda8 swap swap defaults 0 0


Regards

Rosemary


This is strange. You are mounting hda6 on /mnt, and then the CD-ROM is mounting on /mnt/cdrom. It is not normal proactice to mount anyting on /mnt, as you normaly have mount points for removable devices in this directory. In your case, your CD-ROM is mounted there, as well as your Windows partition. I would have to look into things a lot deeper, to see exactly what order things would get mounted, but I can picture all kinds of strange things going on here. If the Windows partition gets mounted before hda6, then you are probably going to lose access to it. I am not sure what is going to happen with the CD-ROM, but I would not be susprised if it failed to mount if there is not a cdrom directory in the base directory on hda6.

What you may want to try is to boot the install CD in the rescue mode, drop to the console, and run:

mount /dev/hda5 /mnt
cd /mnt/etc
mv fstab fstab.save
grep -v hda6 fstab.save >> fstab
cd
umount /mnt
reboot

What you are doing is to mount your root partition, and change to what is normaly the /etc direcroty. You are then renaming fstab to fstab.save. The grep command is cheating a new fstab without the hda6 line in it.

If you are more comfortable using vi instead of messing around with grep, and renaming files, use this instead.

mount /dev/hda5 /mnt
cd /mnt/etc
cp fstab fstab.save
vi fstab
   move down to line starting /dev/hda6
   Enter "i#<Esc>"
   Enter ":wq"
cd /
umount /mnt
eboot

For the vi commands, do not enter the ", and the <Esc> is the Esc key. Use the down arrow key to move down the hage. What you are doing is putting the "#" at the start of the line to comment it out. You do not realy need to make a backup copy of fstab, but I like to play it safe.

Now, I don't know if this will fix the problem you are having, and we will have to discover what is going on with hda6, and where it should be mounted. But it is one problem that I do see, so fixing it should not hurt. (If it is susposed to be mounted of /usr, then we have to get it mounted correctly before the will boot correctly!)

Mikkel



OK Mikkel, I did not see it that way and submit that you know more about this than I but I'm not clear about this and wonder if Rosemary will be able to follow the logic you mention.


First, I agree that hda6 as the /mnt directory is out of place, and wonder why the /mnt directory even has it's own partition. The directories inside my /mnt directory are afterall only to allow
linking to partitions and/or devices. Hence my windows partition would be something like " /dev/hdb1 /mnt/win " with " win " being the partition and not " mnt ".


I now see even more issues and can understand your concern so would ask how we could get the result printf from her windows side that would give us the same result we can get
when we issue:


# df

when within our running system. eg: mine looks like this ~

[EMAIL PROTECTED] mnt]# df
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda5             966M  711M  206M  78% /
/dev/hda1             966M   14M  903M   2% /boot
/dev/hda6             9.4G  5.1G  4.0G  57% /usr
/dev/hda8             9.4G  8.7G  730M  93% /home
/dev/hda9            1020M  303M  666M  32% /var
/dev/hda3              12G  1.3G  9.5G  13% /mnt/empty
/dev/hda4             3.4G  2.7G  713M  80% /mnt/win_h
/dev/hdb2              16M  2.3M   13M  16% /mnt/hdb2_boot
/dev/hdb5              92M   55M   33M  63% /mnt/hdb5_root
/dev/hdb6              92M   62M   25M  72% /mnt/hdb6_var
/dev/hdb7             3.1G  1.9G  1.1G  64% /mnt/hdb7_usr
/dev/hdb9             1.5G  1.4G  151M  91% /mnt/hdb9_home
/dev/hdb1              14G   13G  1.2G  92% /mnt/win_c2

From this printf we would be able to determine the correct layout for /etc/fstab for her hard drive, and I agree, before she gets to cdrom, floppies, etc.

[ An alternative is to get her up with the rescue option as you described above and take her step by step through
the commands she needs to get us the relevant info. ~ your thoughts ? ]


But I reiterate ~ /mnt should not be a partition on it's own ????? Your thoughts here also please.

Thinking back on some other posts of hers, I think it should be /data instead of /mnt.

I am not sure how to explain about what would be going on here - it is not a newbie topic, as the logic is a bit hard to follow. The things is, you can use ANY directory as a mount point for another file system. If there is something in the directory before you mount the new partition, it is no longer accessable after you run mount. The new file system "hides" what was there before.

So when hd6 gets mounted on /mnt, the /mnt/cdrom and /mnt/windows directories will no longer be accessable. If hda1 is mounted on /mnt/windows before hand, you will not be able to get at it. If you try to mount it after hda6, then the mount will fail unless there is a windows directory in what is now /mnt.

If directions are needed on how to boot in the rescue mode, and get to the console, let me know. (There are directions on the TWiki page.)

Mikkel


------------------------------------------------------------------------

Hello listers - espec Frank and Mikkel

I am aware of the amount of time it must take to attempt to troubleshoot problems such as I am experiencing in Mandrake (quite likely of my own making). I really appreciate that time, but also feel rather bad about it. Being a windows user until now, and therefore (being non-techie/geek) have had to take my computer and pay for fixes. While I am very happy to wait until people have time to look at my computer problems and offer ideas, I also am prepared to do a reinstall if things look too idiotic! I don't have a lot in Mandrake to lose. I have saved a heap of emails relating to Mandrake, but should be able to access them in the archive. I'm happy to atke advice and try fixes suggested, but not keen to have people spending too much time on it ...

Appreciate your help

Rosemary

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to