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 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1499.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E6-2699 v3 | 128gb RAM | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E6-2699 v3 | 128gb RAM | 2x 1600W

$899.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



RDS CAL - Remote Desktop Services Windows Server 2019 50 User/Device Connections picture

RDS CAL - Remote Desktop Services Windows Server 2019 50 User/Device Connections

$63.00