Computing.Net > Forums > Linux > can I re-run fstab?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

can I re-run fstab?

Reply to Message Icon

Name: Keith
Date: October 18, 2002 at 00:48:25 Pacific
OS: Mandrake 9.0
CPU/Ram: Duron 600 & 448 mg ram
Comment:

Hi,
I dual boot Mandrake 9 with XP.
XP on the main drive 60gig which has 3 partitions c= XP w= programs & stuff x= storage which I share between XP & Linux.
Then I have a 10gig slave drive for Mandrake. All was fine and working well till I tried to resize 2 partions w & x with partion magic and it threw some errors at me and when I rebooted x had no letter assigned to it. So I assigned a letter to it and when I rebooted all was ok, programs documents and all were working and the drives resized as I wanted..
But when I next logged into Mandrake the icons I had on my desktop pertaining to x partion (Linux Downloads, My Documents, Music) were just a blank icon with a green question mark on it?
So could someone have a gander at my fstab and see if they can spot the problem?

thanks
Keith


/dev/hdd1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdd7 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hda,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hdc1 /mnt/win_c vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/hdc5 /mnt/win_d vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/hdc8 /mnt/win_e vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdd6 /usr ext3 defaults 1 2
/dev/hdc7 swap swap defaults 0 0
/dev/hdd5 swap swap defaults 0 0




Sponsored Link
Ads by Google

Response Number 1
Name: Richard
Date: October 18, 2002 at 02:50:22 Pacific
Reply:

The thing to do is check that your fstab corresponds to the partitions on disk. I've noticed that messing about with partitions on the windows side rearranges the order. Bizarre. With Linux, adding a partition may do that, but just resizing them doesn't.

Anyway, use "fdisk -l /dev/hdX" where X is the Linux drive letter (ie a for primary master, d for secondary slave, if you see what I mean. It looks like you are using c and d) to see your partition table, and hopefully you can work it out from there.

If you need to make any changes, you can just edit fstab. To use the changes, either umount and mount the partition in question, or reboot if you want. It is probably best to do this from a rescue disk, or single user mode, but you can get away with it if you don't (because in this case the missing mounts are not system mounts like / or /usr).


0

Response Number 2
Name: Trip
Date: October 18, 2002 at 07:55:59 Pacific
Reply:

Partition Magic really F$@%S up partition
tables like this. Your device numbering has
probably changed. If you use fdisk /dev/hda
(and also for b c d) and then hit `p` to
print the partition table you can match this
up with your fstab


0

Response Number 3
Name: Keith
Date: October 19, 2002 at 05:12:09 Pacific
Reply:


Thanks guys, I got it fixed.....


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: can I re-run fstab?

how can I entry the X windows directly (not to run init())?? thanks www.computing.net/answers/linux/how-can-i-entry-the-x-windows-directly-not-to-run-init-thanks/1815.html

Can I run Microsoft Word with Linux www.computing.net/answers/linux/can-i-run-microsoft-word-with-linux/24010.html

Can I Run Linux?? www.computing.net/answers/linux/can-i-run-linux/6593.html