You are not logged in.
Pages: 1
Few questions about Thumb Drive:
1. How to format? It comes as FAT and I want to format to Ext3. I have mounted it as /mnt/usb (mount /dev/sda1 /mnt/usb). I tried "<b>mke2fs -j /mnt/usb</b>" but doesn't work.
2. How to mount at boot?
Markku
Offline
Few questions about Thumb Drive:
1. How to format? It comes as FAT and I want to format to Ext3. I have mounted it as /mnt/usb (mount /dev/sda1 /mnt/usb). I tried "<b>mke2fs -j /mnt/usb</b>" but doesn't work.
Use mke2fs -j /dev/sda1 (you must be root to do this)
2. How to mount at boot?
Add a line to your fstab such as:
/dev/sda1 /mnt/usb ext3 defaults 0 0
As long as "noauto" is not specified in the options list, it'll be mounted at boot time.
Offline
2. How to mount at boot?
Add a line to your fstab such as:
/dev/sda1 /mnt/usb ext3 defaults 0 0
Sorry my question was not clear. Earlier I tried this code but didn't work because fstab runs before rc.conf (and rc.local) loads the modules usb-storage and usb-ohci for usb thumb drive. Device /dev/sda1 doesn't yet exist when running fstab.
Markku
Offline
Ahh, ok. Well, you could add the mount command to your rc.local.
Offline
....add the mount command to your rc.local.
Thanks, I didn't thought about it.... always using fstab for mounting .
Markku
Offline
Pages: 1