Hi all,
Have set up 1TB HDD with a /windows ext4 partition for VirtualBox to use when running a guest WinXP machine.
However this partition seems always to mount as a removable drive, so it can't be 'seen' until I touch it, before starting VBox.
What I want is the partition mounted as a normal drive from boot time.
How to do this?
Thanks, B
HDD partition mounted as removable?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
HDD partition mounted as removable?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: HDD partition mounted as removable?
You need to have it automount at boot:
[1] Find out how your system sees all your partitions:
You will get back something that looks like this ( as an example ):
[3] Edit fstab as root:
[4] Add the following line to the end of the file with the correct UUID and mount point ( example ):
[5] If you currently have the the partition mounted unmount it.
[6] Run the following command:
That command will do 2 things:
* It will check the syntax and report errors if you or I have made a typo somewhere.
* It will mount the partition so that you don't have to do a reboot to see if it works.
[1] Find out how your system sees all your partitions:
Code: Select all
sudo blkid -c /dev/null
[2] Create a permanent mount point for your partition to live in:/dev/sda2: LABEL="Data" UUID="f7927995-b098-42be-ada0-987857f5177a" TYPE="ext4"
Code: Select all
sudo mkdir /media/Windows
Code: Select all
gksu gedit /etc/fstab
Code: Select all
UUID=f7927995-b098-42be-ada0-987857f5177a /media/Windows ext4 defaults,noatime 0 2
[6] Run the following command:
Code: Select all
sudo mount -a
* It will check the syntax and report errors if you or I have made a typo somewhere.
* It will mount the partition so that you don't have to do a reboot to see if it works.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.