LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fstab and grub and NTFS partition on SATA (https://www.linuxquestions.org/questions/linux-newbie-8/fstab-and-grub-and-ntfs-partition-on-sata-287809/)

Moses Palmér 02-08-2005 03:22 PM

fstab and grub and NTFS partition on SATA
 
Hello everyone,

I'm having trouble auto mounting my NTFS partition. In my system I have two HDs; the original SATA drive (80 GB, sda) and a new IDE drive (80 GB, hda). I have Windows XP installed on the SATA drive, which is partitioned into 20 GB and 60 GB, and yesterday I installed Ubuntu Warty Warthog to a 15 GB patition on my IDE drive.

I want to mount the 60 GB drive automatically, so after having read similar threads I tried by adding the following line to /etc/fstab:

/dev/sda5 /home/moses/doc ntfs ro,auto,gid=100,umask=000 0 0

Upon booting, the system complains that "/dev/sda5" does not exist. However, when the system is up and running, I can mount this drive either with "sudo mount -a" or "sudo mount -t ntfs /dev/sda5 /home/moses/doc", but most often this does not give me reading permission.

Another problem I have is that grub is unable to boot Windows XP, but it shows up in the meny. My temporary solution to this is to change the boot order in the BIOS to first use the SCSI device. It would be nice, however, to be able to select the operating system from a meny...

Thanks in advance,
Moses

Matir 02-08-2005 03:54 PM

Is ntfs compiled in to your kernel or as a module? Although that should not significantly affect it at boot. Perhaps it doesn't like your mount options. "auto" is not neccessary, as it is the default.

Moses Palmér 02-08-2005 04:07 PM

Quote:

Is ntfs compiled in to your kernel or as a module?
To be honest, I have no idea. I have done nothing since the installation to make it work in the limited fashion that it does, so perhaps it's compiled into my kernel?

Quote:

Perhaps it doesn't like your mount options.
I have tried different option to no avail. But it seems that it doesn't even try to mount it, since it says that the device doesn't even exist.

aus9 02-25-2005 06:24 AM

here is my tutorial
http://www.linuxquestions.org/questi...hreadid=237511

of interest is what is the order grub will see......but if you have only 2 drives when you look at the troubleshooter link you can see you have only to change
root (hd1, AND PRESS THE TAB
or
root (hd0, AND PRESS THE TAB

2) so post us your menu.lst if you can not work it out

3) lets revisit that mount issue

open a terminal and try manually but dont use sudo
$su
$ (enter root password)
# mkdir /home/moses/doc
# mount -t ntfs /dev/sda5 /home/moses/doc
# konqueror (to get file manager in su mode)
navigate to /home/moses/doc and change owner to moses for /doc
and hopefully see your ms stuff?

if and only if above works in su-konqueror mode edit the /etc/fstab file to include a new entry
/dev/sda5 /home/moses/doc ntfs 0 0
(note the ro meant read only)


All times are GMT -5. The time now is 10:46 PM.