Results 1 to 3 of 3
I'm running Knoppix 8.3.1 and trying to get my fat32 partition to automatically be mounted read/write on startup.
I start knoppix with the cheat code: knoppix fromhd=/dev/hde1 myconfig=/dev/uba1
/dev/hde1 is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-12-2005 #1Just Joined!
- Join Date
- May 2005
- Posts
- 2
mounting writable fat32 partition at startup
I'm running Knoppix 8.3.1 and trying to get my fat32 partition to automatically be mounted read/write on startup.
I start knoppix with the cheat code: knoppix fromhd=/dev/hde1 myconfig=/dev/uba1
/dev/hde1 is mounted as /cdrom and is read only.
I want it to be mounted as /mnt/hde1 and read/write.
I tried changing the fstab file as follows:
.
.
.
/dev/hde1 /mnt/hde1 vfat users,exec,rw,umask=000,uid=knoppix,gid=knoppix 0 0 # I added this line
# Added by KNOPPIX
#/dev/hde1 /mnt/hde1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0 # I commented out this line
.
.
.
I saved my config to my usb jumpdrive /dev/uba1 and rebooted.
This change had no effect, but the fstab file still has my changes. Is Knoppix loading my fstab from config too late to have an effect?
How do I fix this?
Thanks,
Mike
- 05-12-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Belgium
- Posts
- 1,429
You can't 'want' it to be mounted as /dev/hde1... Linux assigns a fixed name to the device, you can't choose it yourself. Open a terminal and type 'fdisk -l', than you will see all the existing partitions - amongst which your fat32 drive. Then become root, and type mount -o rw -t vfat (device to be mounted) (mount point).
That should do it. If it is recognized as cdrom, that's bizarre... cd-rom is an iso9660 type, not fat32/vfat.** Registered Linux User # 393717 and proud of it
** Check out www.zenwalk.org
** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **
- 05-13-2005 #3Just Joined!
- Join Date
- May 2005
- Posts
- 2
I think you misunderstood me. The device name is /dev/hde1, and I want the mount point to be /mnt/hde1. Instead, it is being mounted as /cdrom
Originally Posted by borromini
OK, I did more testing and discovered that /cdrom is being used as the mount point because I'm using the fromhd=/dev/hde1 cheat code.
Originally Posted by borromini
If I don't use this cheat code and let knoppix load from the CD, then that becomes /cdrom. /dev/hde1 is not mounted at all, but I can do a "mount -a" and then it will be mounted rw.
Using the fromhd cheat code mounts /dev/hde1 as /cdrom. (This must be necessary to load the image, since /cdrom does not appear in the fstab). Doing a "mount -a" at this point fails because the device is already mounted.
Of course, I want to run with the cheat code for performance reasons. Is there any way to do this?


Reply With Quote
