LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2005, 03:22 PM   #1
Moses Palmér
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
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
 
Old 02-08-2005, 03:54 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 02-08-2005, 04:07 PM   #3
Moses Palmér
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 02-25-2005, 06:24 AM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto-mounting ntfs partition in fstab Mithrilhall Linux - Newbie 3 09-22-2009 01:03 AM
Trouble booting new SATA partition with Grub ridensnow23 Linux - Hardware 9 05-29-2005 12:15 PM
Setting up GRUB to boot a SATA partition ShastaMaroon Linux - General 2 10-27-2004 12:02 PM
I lost my NTFS partition by mistake using GRUB yoonsangkyun Linux - Newbie 6 06-03-2004 07:53 PM
Compiled RH7.3 to read WinXP NTFS partition, mounts in Console, but can't mount fstab BlackDogg Linux - Newbie 20 08-05-2002 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration