PDA

View Full Version : my other partition doesnt show up?


tatorhead
13th January 2006, 02:55 AM
I have recently installed fedora core on my computer, and the hardrive is partitioned into two partitions One is about 10gb for fedora core and the other is about 100 gb and is for my files. When I boot up I cannot see or access this partition. Any ideas? :(

axelseap
13th January 2006, 03:04 AM
as root run /sbin/fdisk -l what does that return?

tatorhead
13th January 2006, 03:58 AM

something about an invalid option or something

axelseap
13th January 2006, 04:04 AM
are u entering a 1 (one) or an l (L)? it should be a lowercase L but it's hard to see the difference when formatted as code

tatorhead
13th January 2006, 05:27 AM
it comes up as listing my two partitions as
/dev/hda1 and /dev/hda2 with the respective sizes and stuff.

fire-fly
13th January 2006, 07:07 AM
it comes up as listing my two partitions as
/dev/hda1 and /dev/hda2 with the respective sizes and stuff.
any error message in /var/log/messages ?
can you mount them manaully ?
Is the mounting option in /etc/fstab ?

jeremyreed
13th January 2006, 07:17 AM
mkdir folderName
mount /dev/hda2 folderName

what does this return?
nothing?

cd folderName
ls

does this list your files?

tatorhead
13th January 2006, 10:43 PM
any error message in /var/log/messages ?
can you mount them manaully ?
Is the mounting option in /etc/fstab ?


/etc/fstab says permission denied.

I'm not sure about the other things as I am a complete noobie at linux commands and such.

axelseap
13th January 2006, 11:16 PM
ok try this
su -
enter root password
mkdir /mnt/files
mount /dev/hda2 /mnt/files
ls /mnt/files see the right files there??? if so continue
vim /etc/fstab
press i then add this line at the bottom
/dev/hda2 /mnt/files auto uid=youraccount,gid=youraccount 0 0
press ctrl c then :wq

then after rebooting the drive should be automounted

fire-fly
16th January 2006, 08:26 AM
/etc/fstab says permission denied.

I'm not sure about the other things as I am a complete noobie at linux commands and such.

sorry was busy. before you doing any changes to /etc/fstab
I suggest
1. you copy and paste the content.
2. execute df -k

I got a good feeling very works fine.

cheers