Results 1 to 4 of 4

Thread: Mounting a 2nd linux drive

  1. #1

    Default Mounting a 2nd linux drive

    Hi
    I'm trying to mount a second Linux drive to retrieve some data from it.
    I'm running Suse 10.3 and wanting to mount a drive that was running 10.1 but now has a boot failure.
    My own hard drive is a SATA drive and the drive I want to mount is IDE (as a Slave).
    If I do an fdisk -l this is what I get:

    garthlinux:/home/garth # fdisk -l

    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0004a259

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 9400 75505468+ 83 Linux
    /dev/sda2 9401 9729 2642692+ 82 Linux swap / Solaris

    Disk /dev/sdb: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x000c8523

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 262 2104483+ 82 Linux swap / Solaris
    /dev/sdb2 * 263 2873 20972857+ 83 Linux
    /dev/sdb3 2874 9729 55070820 f W95 Ext'd (LBA)
    /dev/sdb5 2874 5484 20972826 83 Linux
    /dev/sdb6 5485 7182 13639153+ 83 Linux
    /dev/sdb7 7183 9729 20458746 83 Linux

    I see the new drive has been allocated as sda1 and 2 (was expecting it to come up as sdb1 and 2 etc)

    How do I mount (and unmount when done) this drive now?

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Mounting a 2nd linux drive

    I'm not sure which is the one you want to mount
    In a su terminal

    mount /dev/sdb2 /mnt

    the above will mount sdb2 in /mnt

    replace sdb2 with any other eg; sdb5 or sdb6 or sda1

    if you want to mount permanently you need to edit /etc/fstab
    see: FSTAB - Editing Manually - openSUSE Forums

    also
    Linux HOWTOs and Tutorials: Suse Linux 10.0, 10.1 openSUSE 10.2, 10.3, 11.0, 11.1
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Mounting a 2nd linux drive

    Thanks. It's sda1 that I want and I'm in there.

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Mounting a 2nd linux drive

    Quote Originally Posted by garthkh View Post
    Thanks. It's sda1 that I want and I'm in there.
    Good job. Let us know if you need any more advice.
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

Posting Permissions

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