Results 1 to 8 of 8

Thread: can't mount /dev/sda2

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    21

    can't mount /dev/sda2

    Hello,
    I have a SATA drive as my PRIMARY MASTER on my computer. I would like to mount the /dev/sda2 partition. I can't do it in Knoppix 5.1.1 but it used to work in Knoppix 4.0 with

    mount -rw -t ext3 /dev/sda2 /mnt/sda2

    What's the new way?

  2. #2
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    21
    To be more precise, if I do

    mount /dev/sda2 /mnt/sda2

    It says:
    special device /dev/sda2 does not exist

    and yes, I did create /mnt/sda2

    Frank

  3. #3
    Senior Member registered user
    Join Date
    Jan 2007
    Posts
    104
    Quote Originally Posted by transistortoaster
    To be more precise, if I do

    mount /dev/sda2 /mnt/sda2

    It says:
    special device /dev/sda2 does not exist

    and yes, I did create /mnt/sda2

    Frank
    If you type:

    cat /etc/fstab

    what mountpoints have been found by KNOPPIX?

  4. #4
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    21
    Thanks for your response,
    Here's fstab:

    Code:
    # /etc/fstab: filesystem table.
    #
    # filesystem  mountpoint  type  options  dump  pass
    /dev/hdd2  /  ext3  defaults,errors=remount-ro  0  1
    
    proc  /proc  proc  defaults  0  0
    /dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
    usbfs  /proc/bus/usb  usbfs  devmode=0666  0  0
    sysfs  /sys  sysfs  defaults  0  0
    tmpfs  /dev/shm  tmpfs defaults  0  0
    /dev/cdrom /media/cdrom  iso9660  defaults,ro,users,noexec,noauto  0  0
    /dev/cdrom1 /media/cdrom1  iso9660  defaults,ro,users,noexec,noauto  0  0
    /dev/cdrom2 /media/cdrom2  iso9660  defaults,ro,users,noexec,noauto  0  0
    /dev/cdrom3 /media/cdrom3  iso9660  defaults,ro,users,noexec,noauto  0  0
    /dev/dvd /media/dvd  iso9660  defaults,ro,users,noexec,noauto  0  0
    # Added by KNOPPIX
    /dev/hdd1 /media/hdd1 ntfs noauto,users,exec,umask=000 0 0
    # Added by KNOPPIX
    /dev/hdd5 none swap defaults 0 0
    # Added by KNOPPIX
    /dev/sr1 /media/sr1 auto ro,noauto,users,exec 0 0
    # Added by KNOPPIX
    /dev/sr0 /media/sr0 auto ro,noauto,users,exec 0 0
    #added by Frank for Knoppix 5.1.1
    #/dev/sda2 /home auto rw,auto,users,exec 0 2
    I added the last two lines myself.

  5. #5
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    21
    On the KDE background, I have the sr1 device icon. If I try to mount it, mount reports "No medium found"

  6. #6
    Member registered user
    Join Date
    Mar 2005
    Posts
    77
    The 5.x.x versions uses the media file instead of the mnt file so try this:
    # mount -rw -t ext3 /dev/sda2 /media/sda2
    hth

  7. #7
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    21
    Waka,
    Thanks for your advice. I tried it and it still does not work. The problem is more the device itself - not the mount point. The error message says that the "special device" /dev/sda2 does not exist.

    Basically I need to figure out how to get the SATA device recognized by the OS, as Knoppix 4.0 did sucessfully.
    Here are some interesting lines from dmesg:

    Code:
    Loading iSCSI transport class v2.0-724.<7>ata_piix 0000:00:1f.2: version 2.00ac6
    ata_piix 0000:00:1f.2: MAP [ P0 P1 IDE IDE ]
    ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 17
    PCI: Setting latency timer of device 0000:00:1f.2 to 64
    ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
    ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
    scsi0 : ata_piix
    ata1: SRST failed (status 0xFF)
    ata1: SRST failed (err_mask=0x100)
    ata1: softreset failed, retrying in 5 secs
    ata1: SRST failed (status 0xFF)
    ata1: SRST failed (err_mask=0x100)
    ata1: softreset failed, retrying in 5 secs
    ata1: SRST failed (status 0xFF)
    ata1: SRST failed (err_mask=0x100)
    ata1: reset failed, giving up
    scsi1 : ata_piix
    ata2.00: ATAPI, max UDMA/33
    ata2.01: ATAPI, max UDMA/33
    ata2.00: configured for UDMA/33
    ata2.01: configured for UDMA/33

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    England
    Posts
    177
    Quote Originally Posted by transistortoaster
    Thanks for your response,
    Here's fstab:
    Code:
    # /etc/fstab: filesystem table.
    ... TRUNCATED ...
    # Added by KNOPPIX
    /dev/sr0 /media/sr0 auto ro,noauto,users,exec 0 0
    #added by Frank for Knoppix 5.1.1
    #/dev/sda2 /home auto rw,auto,users,exec 0 2
    I added the last two lines myself.
    Using the fstab file, you need to remove the # from the front of the last line, (as well as mounting to /media/sda2 as pointed out above for the command line case).
    You might need to create the mount point manually first :
    Code:
     mkdir -p /media/sda2
    Then try fstab with the last 2 lines as follows (details as inferred from your configuration) :
    Code:
    ... TRUNCATED ...
    #added by Frank for Knoppix 5.1.1
    /dev/sda2 /media/sda2 ext3 rw,auto,users,exec 0 0

Similar Threads

  1. Can't mount HD
    By temujin650 in forum Hardware & Booting
    Replies: 2
    Last Post: 11-07-2007, 09:57 PM
  2. hdinstall on /hdd2, like to have /home/frank on /dev/sda2
    By transistortoaster in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 11-27-2005, 02:22 AM
  3. USB HDD help with mount
    By kraydl in forum Hardware & Booting
    Replies: 0
    Last Post: 11-07-2005, 03:53 AM
  4. nfs mount: mount: RPC: Program not registered
    By markpelletier in forum Networking
    Replies: 0
    Last Post: 10-31-2005, 07:06 PM
  5. :?: file:/mnt/sda2 - Permission, Modify content, Error:!:
    By Simonkex in forum General Support
    Replies: 7
    Last Post: 04-11-2005, 06:07 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
  •  


KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$12.00



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.97



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Vintage Linux DVD - Knoppix 5.2 - c't Magazine - 7 / 2007 - Software Collection 2 picture

Vintage Linux DVD - Knoppix 5.2 - c't Magazine - 7 / 2007 - Software Collection 2

$8.03



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$34.42