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
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



AMD Ryzen 7 2700X 8-Core 3.7GHz Socket AM4 CPU Processor YD270XBGAFBOX picture

AMD Ryzen 7 2700X 8-Core 3.7GHz Socket AM4 CPU Processor YD270XBGAFBOX

$95.00



Lenovo IdeaCentre Q190 (Type 10115) Mini PC Brand New Console Only 4GBram 500gb picture

Lenovo IdeaCentre Q190 (Type 10115) Mini PC Brand New Console Only 4GBram 500gb

$300.00



Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11 picture

Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11

$250.00



Intel Core i7-6700 SR2L2 3.40GHz 8 MB 4-Core LGA1151 Socket CPU Processor picture

Intel Core i7-6700 SR2L2 3.40GHz 8 MB 4-Core LGA1151 Socket CPU Processor

$27.99



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW

$399.00



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW

$400.00



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused

$395.95



AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1) picture

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)

$189.00



DELL OPTIPLEX 3280 21.5

DELL OPTIPLEX 3280 21.5" AIO Core i5 10500T 8GB 256GB NVMe Windows 11 -NO STAND

$199.99