Page 1 of 2 12 LastLast
Results 1 to 16 of 18

Thread: Second Hard drive in FC2

  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    185
    Thanks
    0
    Thanked
    0 times in 0 posts

    Second Hard drive in FC2

    Right Guys,

    I installed a second hard drive in my Linux box, it´s the primary slave, /dev/hdb, FC2 sees it in Hardware Browser but not as a drive i can access how do i access it? do i need to mount the volume? or should it detect and mount automatically?

    Cheers

    Dan.

  2. #2
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    you need to partition it, you access the partitions not the drive

    eg: fdisk /dev/hdb

    keystrokes are

    n (create new partition)
    p (primary)
    start cylinder 1
    end $X
    w (write)
    quit (quit)

    then format it - for example with ext2

    mke2fs /dev/hdb1 (note the 1 as there is now a partition on hdb)

    mount /dev/hdb1 /mnt

    ls -la /mnt

    your good to go.

    you can use other tools like disk druid, partition magic etc etc, and use any file system or swap if you want.

    I just use that as an example.

    Basically you need to access partition on the disk not the native device for the whole disk
    It is Inevitable.....


  3. #3
    Member
    Join Date
    Aug 2004
    Posts
    185
    Thanks
    0
    Thanked
    0 times in 0 posts
    Yes, i sort of worked out how to do it from reading manuals - however, i appreciate your reply as it confirms what i need to do, what is the ls -la /mnt command for?

  4. #4
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    ls -la /mnt shows that the file system is mounted on /mnt and can be read
    It is Inevitable.....


  5. #5
    Member
    Join Date
    Aug 2004
    Posts
    185
    Thanks
    0
    Thanked
    0 times in 0 posts
    Ok cheers, for that, just one question, why hasn´t FC2 autodetected and mounted it??

  6. #6
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    no idea, I wasn't aware that fc or redhat autdetected and mounted
    It is Inevitable.....


  7. #7
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    you may find QTparted a little nicer to use than fdisk && mkfs.whatever - though i don';t know if fedora comes with it

  8. #8
    Member
    Join Date
    Aug 2004
    Posts
    185
    Thanks
    0
    Thanked
    0 times in 0 posts
    Quote Originally Posted by ikonia
    no idea, I wasn't aware that fc or redhat autdetected and mounted
    From what i´ve read and been told it should, anyway, it doesn´t so i will do as i have been recommended..

    Cheers Guys


    Dan.

  9. #9
    Member
    Join Date
    Aug 2004
    Posts
    185
    Thanks
    0
    Thanked
    0 times in 0 posts
    Quote Originally Posted by directhex
    you may find QTparted a little nicer to use than fdisk && mkfs.whatever - though i don';t know if fedora comes with it
    Good call, it doesn´t come with parted, but i can get hold of it..

    Cheers

  10. #10
    Member
    Join Date
    Aug 2004
    Posts
    185
    Thanks
    0
    Thanked
    0 times in 0 posts
    erm.....neither cfdisk nor fdisk work at the terminal prompt?! Help!

  11. #11
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    as root? it's always possible redhat have helpfully not bothered with them

  12. #12
    Member
    Join Date
    Aug 2004
    Posts
    185
    Thanks
    0
    Thanked
    0 times in 0 posts
    Quote Originally Posted by directhex
    as root? it's always possible redhat have helpfully not bothered with them
    Yep, even as root, it´s not there.... any other ideas? having trouble getting parted to work...

  13. #13
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    can you not install fdisk,

    Here is a link to the source rpm for redhat boxes

    ftp://195.220.108.108/linux/ultrapen...-2.5-1.src.rpm
    It is Inevitable.....


  14. #14
    Member
    Join Date
    Aug 2004
    Posts
    185
    Thanks
    0
    Thanked
    0 times in 0 posts
    i couldn´t install fdisk, so i used parted instead, i resized the drive and created the following:

    Disk geometry for /dev/hdb: 0.000-32253.537 megabytes
    Disk label type: msdos
    Minor Start End Type Filesystem Flags
    1 0.031 32253.046 extended lba

    what do i need to do now?

    i try mount /dev/hdb /mnt and get the following:

    mount /dev/hdb /mnt
    mount: you must specify the filesystem type

  15. #15
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    I think you need to go and read my first post, you suggested you knew what you where doing with this.

    You need to mount the partition - put a file system on it, then mount it

    so hdb1 is hard disk 2 - partition 1.

    At the moment this won't have a filesystem on it, so you need to create one, ext2/3, resiserfs, anything really ???

    eg: mke2fs /dev/hdb1

    now you can mount it
    It is Inevitable.....


  16. #16
    Member
    Join Date
    Aug 2004
    Posts
    185
    Thanks
    0
    Thanked
    0 times in 0 posts
    ikonia, i knew what i needed and wanted to do, it was the fact that i was using parted - i wasn´t using the correct command, i omitted the ext2 ¨bit¨ when using the mkpart command, so i was effectively making a partition with no FS, hence when i tried to mount the drive in /mnt i got an error... i went back added this and it works...


    cheers

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hard drive help
    By uk rider in forum Help! Quick Relief From Tech Headaches
    Replies: 9
    Last Post: 02-09-2004, 10:53 PM
  2. Move XP to an already semi-filled hard drive
    By Zathras in forum Help! Quick Relief From Tech Headaches
    Replies: 3
    Last Post: 14-08-2004, 10:32 PM
  3. formatting a hard drive.
    By blockers in forum PC Hardware and Components
    Replies: 7
    Last Post: 12-01-2004, 01:19 AM
  4. cloning hard drive
    By mrdata2003 in forum Software
    Replies: 7
    Last Post: 07-01-2004, 09:47 AM
  5. master hard drive
    By wilsonian in forum PC Hardware and Components
    Replies: 7
    Last Post: 10-09-2003, 10:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •