Results 1 to 8 of 8

Thread: can't mount /dev/sda2

  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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



MSI PRO Z790-P WIFI DDR4 LGA 1700 Intel Z790 SATA 6Gb/s DDR4 ATX Motherboard picture

MSI PRO Z790-P WIFI DDR4 LGA 1700 Intel Z790 SATA 6Gb/s DDR4 ATX Motherboard

$163.49



GIGABYTE X570 UD AM4 motherboard +AMD Ryzen 9 3900x CPU+Cooler picture

GIGABYTE X570 UD AM4 motherboard +AMD Ryzen 9 3900x CPU+Cooler

$250.00



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$101.99



ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard picture

ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard

$76.49



ASUS B85M-G/B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI for Inter 4thCPU picture

ASUS B85M-G/B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI for Inter 4thCPU

$45.00



MSI B460M-A Pro DDR4 LGA 1200 Micro ATX Motherboard 10th Gen picture

MSI B460M-A Pro DDR4 LGA 1200 Micro ATX Motherboard 10th Gen

$59.99