LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help for accessing a partition in Fedora 14 (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-for-accessing-a-partition-in-fedora-14-a-843490/)

crrail 11-10-2010 01:01 PM

Need help for accessing a partition in Fedora 14
 
I'm new to Linux platform. I was using Windows XP on my 500GB HDD. I wanted to use any Linux os, so yesterday I removed XP & installed Fedora 14. Now I'm not able to access one of the partition (380GB). Please help me out, I don't know much since I'm very new to Linux. Thanks.

Quote:

[root@localhost ~]# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb424c69d

Device Boot Start End Blocks Id System
/dev/sda1 63 2047 992+ 42 SFS
/dev/sda2 * 2048 206847 102400 42 SFS
/dev/sda3 206848 105105407 52449280 5 Extended
/dev/sda4 105105408 976771119 435832856 42 SFS
/dev/sda5 208896 94621695 47206400 83 Linux
/dev/sda6 94623744 105105407 5240832 82 Linux swap / Solaris
[root@localhost ~]# mount /dev/sda4 /mnt/windows -t ntfs -r
[root@localhost ~]# mount /dev/sda3 /mnt/windows -t ntfs -r
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
[root@localhost ~]#

alfredo10 11-10-2010 02:42 PM

Hi crrail!
Your desktop is Gnome?
Before mounting you have to create a directory; I do it in the folder /media and not in /mnt because I then can have an icon on my desktop.
You cannot mount an extended partition (sda3); you can mount a logical partition (within the extended partition: sda5, sda6) or a primary partition (sda1, sda2 [and sda4 I suppose]).
Code:

mkdir /media/SDA4
; then
Code:

mount /dev/sda4 /media/SDA4
;
please give an answer, if this dos not work.
Two advices:
1. You should install gparted (graphical partitioning tool - it's easy),
2. Please wrap Code tags around selected text (symbol #). It's easier to read.
alfredo

syg00 11-10-2010 02:52 PM

You can't mount an extended partition - it is merely a container for logical partitions (sda5 and sda6 exist within sda3). This structure comes from MS-DOS and is also true for Windows as well (non-gpt disks).
You also shouldn't try and mount multiple partitions at the same mount point - the latter causes the previous to "disappear".

udaman 11-10-2010 03:04 PM

Do not mount /dev/sda4 under /media. That should be reserved for removable disks, and flash drives.

If you've removed Windoz and your only operating system is Fedora, than I would reinstall it from scratch and during the install, tell it to repartition the entire disk. Remove all the partitions and start over.

There are many thoughts on how to partition your disk. I'll provide my idea.

swap partition of 2GB.
/ partition of about 15 GB.
/home partition of 20 to 50 GB
and the balance you could divide for data storage, /data, and/or another operating system, such as Windoz or another Linux.

Your current swap partition looks way too big and is a waste of space, and you don't need ntfs partitions if you're not using windows.

The suggestion of using Gparted is good, but I would burn it to a live CD and boot the CD to repartition.

alfredo10 11-11-2010 03:48 AM

Hi crrail!
At the moment I don't know if gparted is installed on your hd; you can try this by entering
Code:

gparted
as root in a terminal. It's useful to give a newcomer an overview.
Another possibility:
Code:

parted -l print
gives a better clear view for a newbie than "fdisk".
That's what you should do now; later on you can create a live-CD gparted, or better a live-USB PartedMagic (with useful tools).
alfredo

arul315 11-11-2010 03:57 AM

If you have cleaned the hard drive and you have installed the Fedora then I'll suggest to format it again and put XP 1st.
Once you are on the XP, Create 10 GB Dedicated Partition for Just Fedora,
Then install the fedora in that 10 GB partition.
While reboot choose fedora and start using it.
Until and unless you are not thorough with fedora dont try to remove windows.
It well help you,
This is my own experience.
I am using Fedora 14 Genome and Win 7 ultimate with 500 GB HD so we both are on the same page.........

arul315 11-11-2010 04:00 AM

Quote:

Originally Posted by alfredo10 (Post 4155072)
Hi crrail!
Your desktop is Gnome?
Before mounting you have to create a directory; I do it in the folder /media and not in /mnt because I then can have an icon on my desktop.
You cannot mount an extended partition (sda3); you can mount a logical partition (within the extended partition: sda5, sda6) or a primary partition (sda1, sda2 [and sda4 I suppose]).
Code:

mkdir /media/SDA4
; then
Code:

mount /dev/sda4 /media/SDA4
;
please give an answer, if this dos not work.
Two advices:
1. You should install gparted (graphical partitioning tool - it's easy),
2. Please wrap Code tags around selected text (symbol #). It's easier to read.
alfredo


These commands wont work because I have tried those when I made the same mistake as Carrie...

arul315 11-11-2010 04:01 AM

Quote:

Originally Posted by crrail (Post 4154980)
I'm new to Linux platform. I was using Windows XP on my 500GB HDD. I wanted to use any Linux os, so yesterday I removed XP & installed Fedora 14. Now I'm not able to access one of the partition (380GB). Please help me out, I don't know much since I'm very new to Linux. Thanks.

If you have cleaned the hard drive and you have installed the Fedora then I'll suggest to format it again and put XP 1st.
Once you are on the XP, Create 10 GB Dedicated Partition for Just Fedora,
Then install the fedora in that 10 GB partition.
While reboot choose fedora and start using it.
Until and unless you are not thorough with fedora dont try to remove windows.
It well help you,
This is my own experience.
I am using Fedora 14 Genome and Win 7 ultimate with 500 GB HD so we both are on the same page.........

repo 11-11-2010 04:06 AM

@arul315

How will this solve the problem from the OP?

Kind regards

arul315 11-11-2010 04:22 AM

Quote:

Originally Posted by repo (Post 4155590)
@arul315

How will this solve the problem from the OP?

Kind regards

This will help because we already user has lost the data then why go ahead and try something which we dont know??
so to be on the safer side use dual OS and
create partitions through windows as its handy..
and then try to use in fedora as we can use all the storage space through fedora..
This is what i think and this solution suits me better as I have mounted 7 Partitions through this method..
I know this is time consuming....
However I wont take risk till the time I am not get used to Fedora...

abidur rahaman 11-11-2010 09:25 AM

triple booting Windows 7+ubuntu maverick+fedora 6
 
Now I have windows 7 and ubuntu maverick in my OS. I want to install fedora 6 too. What I have to do(I have fedora 6 dvd in my hand).what should I do?I am fearing that after installing if GRUB dont show 3 operating systems what should I do? please reply

repo 11-11-2010 10:50 AM

Quote:

Originally Posted by abidur rahaman (Post 4155817)
Now I have windows 7 and ubuntu maverick in my OS. I want to install fedora 6 too. What I have to do(I have fedora 6 dvd in my hand).what should I do?I am fearing that after installing if GRUB dont show 3 operating systems what should I do? please reply

Welcome to LQ

Please start a new thread for your problem.

Kind regards

repo 11-11-2010 11:15 AM

Quote:

This will help because we already user has lost the data then why go ahead and try something which we dont know??
Where does the OP say he lost his data?
So your solution for every problem is reinstall?


Kind regards

arul315 11-12-2010 06:01 AM

Quote:

Originally Posted by repo (Post 4155911)
Where does the OP say he lost his data?
So your solution for every problem is reinstall?


Kind regards


I never said that reinstall is solution for all problems.
But for this we need to go ahead and have to do reinstall for dual boot

alfredo10 11-13-2010 03:02 AM

Hi!
@ arul315:
That's impossible if you have an efficient linux operating system.
You must be root to run this commands!
alfredo

example with sda1:
as root:
~ # mkdir /media/SDA1
~ # mount /dev/sda1 /media/SDA1
~ # mount
...
/dev/sda1 on /media/SDA1 type vfat (rw)
~ #


All times are GMT -5. The time now is 12:44 PM.