The tutorial here will do basically the same as other answers in this thread suggest to do, but the tool will accomplish it with a couple of clicks and no need to enter configurations manually into fstab config file. This web page has a lot of useful info on fstabįor those lazy and cautious ones who want to use a simple and self-explanatory GUI there is a tool called Storage Device Manager (pysdm). Then on the next reboot it will auto mount. dev/sdb1 /home/yourname/mydata ext4 defaults 0 1 This assumes the partition is formatted as ext4 as per mkfs above #device mountpoint fstype options dump fsck You need to add it to /etc/fstab use your favourite text editorīe careful with this file as it can quite easily cause your system not to boot.Īdd a line for the drive, the format would look like this. Okay now you have a partition, now you need a filesystem. Then press 1 and press Enter (creates it as the 1st partition)įinally, press W (this will write any changes to disk) Press P and press Enter (makes a primary partition) Press N and press Enter (creates a new partition) Press O and press Enter (creates a new table) WARNING: THIS WILL DESTROY ANY DATA ON YOUR TARGET DISK I am assuming this is the disk you want to mount. Units = cylinders of 16002 * 512 = 8193024 bytesįirst of all your /dev/sdb isn't partitioned. I/O size (minimum/optimal): 512 bytes / 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes This is the output from running sudo fdisk -l on my system: Disk /dev/sda: 500.1 GB, 500107862016 bytesĢ55 heads, 63 sectors/track, 60801 cylinders I want to have the machine automatically mount the device on startup/reboot. I have manually mounted the drive as /mydata. I used System -> Administration -> Disk Utils to format the disk (ext4 file type) - but did not create a partition (is this advisable?). I have recently installed a new hard drive to my Ubuntu 10.0.4 box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |