Script to auto mount Windows/Mac Partition on startup

Status
Not open for further replies.

xtrafile

Yellow Belt
The other day I found a script for Ubuntu that will auto mount all partitions on the system at startup....

I lost it and I need it asap... I have some files to back up on my dead Windows installation and need the script within an hour or so from this posting.

I already tried the other things on Google, but I'm having permission errors.

Thanks
 

shadoweater

Yellow Belt
fstab

check your entries in /etc/fstab

/dev/hdaX /mnt/windows ntfs auto,ro,users 0 0

hdaX should be replaced by the relevant device

hda = primary master
hdb = primary slave
hdc = secondary master
hdd = secondary slave

I'm guessing you have it internal

Peace
 

xtrafile

Yellow Belt
Yes it's internal; I was just wondering if anyone has the auto script since I'm running on a live cd and I have to mount it every time i restart the laptop...

Thanks
 

shadoweater

Yellow Belt
automount with live cd

you'll have to add the script to the iso before you burn it or put a small script on a usb key.

It doesnt take long to type and is probably more hastle to change stuff imho

sorry i cant help more

Peace
 

xtrafile

Yellow Belt
Haven't used Knoppix yet I don't think... maybe an old version.

Sounds like a good OS; will try it out later.

Thanks
 
N

nlmisra

Hey.
If the fstab file is fine, then the next time you log onto ubuntu, go to terminal, log on as root and type the following command : -
mount -a
This is the most simplest command there is. But it works only if the ftab file is correctly configured. The command basically loads all your partitions on start-up without you having to do that manually.
Hope this helps in some way..
 
Status
Not open for further replies.
Top