Detecting a hard disk partition

  • sidharth
  • Student
  • Student
  • sidharth
  • Posts: 68
  • Loc: india

Post 3+ Months Ago

hello friends,

i have fedora 4 running on my computer.
I have only linux installed . i created / partition on which linux is installed , rest of drives i made
under extened . How to detect that drives under
linux to place data in that
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

When you installed Fedora, did you format the other drives ext3 and set them up to auto mount? Unless I am mistaken, I thought Fedora automounted all attached logical or phsyical drives.
  • sidharth
  • Student
  • Student
  • sidharth
  • Posts: 68
  • Loc: india

Post 3+ Months Ago

no.
i had not done anything ......
but later on whwn i decided to make that partitions available in linux ......
I want them raw partiition to ext2 and format them so that i can mount them......
thanx.....
  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

I'm not sure I really understand what you're saying here. Are the partitions already formatted or not?

If they are, mount them with something like (as root):
Code: [ Select ]
mount -t filesystem_type /dev/hdb1 /my/mountpoint

To make it automatic, create an entry in /etc/fstab such as:
Code: [ Select ]
/dev/hdb1  /my/mountpoint filesystem_type defaults  0 0


If you haven't created the partitions or the filesystems yet, the best advice I could give someone unfamiliar with Linux would be to use gparted. You can install this with:
Code: [ Select ]
yum install gparted
  • sidharth
  • Student
  • Student
  • sidharth
  • Posts: 68
  • Loc: india

Post 3+ Months Ago

i had not created the partitions earlier ........
so want to how to create this......
is this possible using fdisk ..........
  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

As I stated earlier, if you haven't partitioned the drives and you're using Fedora Core and you (quite obviously) don't know the ins and outs of using a command line disk partition utility like fdisk, the best thing you can do is install gparted with the above command (as root). You then start it by going to System Tools > Gparted.

Once gparted is installed, it'll give you a *very* user friendly front end (very much like partition magic for Windows if you're familiar with that) that you can use to visually partition your drives.

If you're adamant about using fdisk, all you need to do is run something like
Code: [ Select ]
fdisk /dev/hda

changing "/dev/hda" to point to your primary hard drive. Once in fdisk, you can type "m" to see a list of commands that can be run, "p" to print out the drive's current partition table, "n" to create a new partition and "a" to toggle a partition's boot flag (required for whatever partition holds your bootloader).

Once again I'll stress that if you don't know what you're doing, you should stick to the graphical tools until you do. You can seriously mess up a hard drive using fdisk.

On another note, I don't think I'd put this much effort into install a FC4 system now that FC5 is out and stabalized. If you don't want to go through burning the ISO's again, it is possible (with some work) to do a yum upgrade to 5 from 4.
  • sidharth
  • Student
  • Student
  • sidharth
  • Posts: 68
  • Loc: india

Post 3+ Months Ago

thanks.......
  • frezasaga
  • Beginner
  • Beginner
  • frezasaga
  • Posts: 41

Post 3+ Months Ago

when i read the post. when u partition a HDD it is much better to format the partition HDD in the first installation so it detected when the OS start..... am i right.....
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

no, the purpose of formatting the partition during installation is so that the OS will automatically add an entry to /etc/fstab and will auto mount it when your pc boots. that way theres a lot less work you have to do.
  • frezasaga
  • Beginner
  • Beginner
  • frezasaga
  • Posts: 41

Post 3+ Months Ago

sp for example i put a new HDD when the OS start it will not detected so easly so you need to format.........

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 78 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.