-
USB KNOPPIX HARD DRIVE RECOGNITION PROBLEM
I am not sure where to post my question but here it goes.
My laptop boots Knoppix from a 1GB usb stick just fine but when I try to access my internal hard drive (/media/sda1 and /media/sda2), it seems to direct me to the contents of my usb stick (/media/sdb4) which is where all of the Knoppix files have been copied to. I would like to have my usb Knoppix automatically recognize and mount any IDE drives such as internal hard drives, internal cd-burners, internal dvd-burners, etc.
Thanks!
-
Administrator
Site Admin-
Re: USB KNOPPIX HARD DRIVE RECOGNITION PROBLEM
Originally Posted by
d1g1tal_ph3r3t
... when I try to access my internal hard drive (/media/sda1 and /media/sda2), it seems to direct me to the contents of my usb stick (/media/sdb4)...I would like to have my usb Knoppix automatically recognize and mount any IDE drives.....
Knoppix normally recognized IDE drives just fine. But partitions on IDE drives should be seen as hda1, hda5, hdb1, hgb5 and so on, not as sda1 ... . sda1 is a SATA drive partition or a usb drive (maybe a SCSI partition also), not an IDE drive. Is this related to your USB booting at all? What happens if you boot Knoppix from CD or DVD and not from a flash drive? Are there valid uncorrupted partitions for Knoppix to find? And if these questions don't lead you to the answer, you might want to give specific hardware makes and model numbers.
-
Re: USB KNOPPIX HARD DRIVE RECOGNITION PROBLEM
I am not sure if this helps but I have my 1GB Knoppix usb stick partitioned and formatted as a usb/zip. Harry, I read your reply, I am not sure why I am not able to access my internal drive now but I was able to earlier. I was using various mount commands until I seemed to fix my problem and then I issued another mount command and the problem resurfaced. I am about to give up!!!!!
I will boot from a Knoppix cd and see what I find and try to compare some things. I will try to report my findings here later on. Wow, I did not know Linux could be such a pain in the neck to use. I almost want to continue using Windows!!!!
-
Knoppix usb boot - problem with internal SATA drive
Hello all, I have similar problem.
I was able to boot Knoppix 5.1.1 from an USB drive, but the internal SATA hard drive was not mounted correctly by Knoppix. Please help.
During boot, Knoppix did recognize USB drive as /dev/sdb, internal SATA drive as /dev/sda. Now the problem: after booted into Knoppix, mounted USB drive become /dev/sda1, which was wrong. My internal SATA drive's 1st partition could not be accessed, since /dev/sda1 pointed to USB drive. But SATA drive's 2nd partition was OK as /dev/sda2. I could not unmount /dev/sda1 since Knoppix thinks it is in use (it is actually USB, so it is in use!).
I guess there is a bug in Knoppix 5.1.1. If there is a work around, please point me to the right direction. Thanks!
-
Senior Member
registered user
Re: Knoppix usb boot - problem with internal SATA drive
I have been using my USB thumb drive to boot knoppix 5.1.1 for almost a year and I don't seems to have any problem at all.
I found the GUI part is a bit confusing to me so I stick to the command line option all the time.
I notice that when I booted up my knoppix from USB, which formatted as USB/ZIP drive format, it is recognized as /dev/sdb4. (zip drive is drive number 4 all the time). The OS recognizes my single internal drive with 2 NTFS partitions as /dev/sda1 and /dev/sda2.
When X-Windows (KDE) started, I noticed that the three icons on the desktop shown up as Hard Disk [sda1], Hard Disk [sda2] and Hard Disk [sdb4]. And I saw a little green arrow on the lower right hand corner at each icon, which suppose to mean mounted.
Then I open a konsole and try to access it
Code:
knoppix@Knoppix:~$ cd /media/sda1
knoppix@Knoppix:/media/sda1$ ls -l
total 0
Nothing return. So it is not mounted. Then I mount it manually via command line.
Code:
knoppix@Knoppix:/media/sda1$ cd
knoppix@Knoppix:~$ sudo mount -t ntfs /dev/sda1 /media/sda1 -o ro
knoppix@Knoppix:~$ cd /media/sda1
knoppix@Knoppix:/media/sda1$ ls -l
Now I can see my harddisk is mounted as read-only and can access all my data there. I have no problem so far for all my hard disk access. (read or write)
However, one thing I do not understand is the /etc/fstab, I did a snapshot on the /etc/fstab before I mount the sda1 and I did another snapshot after I mount the sda1. I found that both snapshots are identical. Any idea?
To my machine when using the command line, all drives are NOT mounted when it boot up. Not even the USB drive mount point (i.e. /media/sdb4). However, I can access the USB drive via mount point /cdrom.
Knoppix behaves identically as my CD boot up. Just wonder the other two members who have problem did anything special on the USB drive after created it as the boot drive. I follow the exact steps from http://www.knoppix.net/wiki/Bootable_USB_Key to format my USB thumb drive.
My suggestion to this issue is:
Try to boot knoppix from CD instead of USB drive and see how it behave. If it works fine, chances are something went wrong on the USB drive creation and you may want to re-create it again. If the same problem appears with CD boot up, then it is a bug.
Rgds,
Chip
-
Senior Member
registered user
Re: Knoppix usb boot - problem with internal SATA drive
Just got an idea. How about checking your /etc/fstab file, here is what my machine /etc/fstab file looks like:
Code:
knoppix@Knoppix:~$ su
root@Knoppix:/ramdisk/home/knoppix# cat /etc/fstab
/proc /proc proc rw,nosuid,nodev,noexec 0 0
/sys /sys sysfs rw,nosuid,nodev,noexec 0 0
/dev/shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
/dev/pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /media/fd0 auto user,noauto,exec,umask=000 0 0
/dev/cdrom /media/cdrom auto user,noauto,exec,ro 0 0
/dev/hdc /media/hdc auto users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/sda1 /media/sda1 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
# Added by KNOPPIX
/dev/sda2 /media/sda2 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
# Added by KNOPPIX
/dev/sdb4 /media/sdb4 vfat noauto,users,exec,umask=000,shortname=winnt,uid=knoppix,gid=knoppix 0 0
Some explainations:
Column 1 is the device name.
Column 2 is the mount point.
Column 3 is the file system type.
Column 4 is the mount option.
Column 5 is the dump freq
Column 6 is the fsck scan order number.
Each column delimited by space.
Make sure the device name and it's corresponding mount point are correct. If not, manually edit it, save the file and reboot.
i.e. /dev/sda1 should map to /media/sda1 etc.
Some hints: for testing purposes, use "default" in column 4 and use zero for column 5 and column 6.
Rgds,
Chip
Similar Threads
-
By skomes in forum Hardware & Booting
Replies: 7
Last Post: 12-08-2006, 05:43 AM
-
By Johnni in forum Hardware & Booting
Replies: 1
Last Post: 09-07-2005, 11:34 PM
-
By dukka in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 01-28-2004, 07:00 AM
-
By cantlin in forum General Support
Replies: 9
Last Post: 08-04-2003, 12:08 PM
-
By CoolSilver in forum Hardware & Booting
Replies: 7
Last Post: 06-01-2003, 04:38 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
HP ProLiant ML350 Gen 9 Server 64GB RAM 2.4GHz Xeon 12-Core E5-2667 v3
$300.00
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$273.00
Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w
$489.99
Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB
$279.99
Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox
$320.00
R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU
$172.95
CEOhack 1U X9DRW-3TF+ 4 Bay Server 64GB DDR3 1x E5-2667 V2 3.30GHz 8C 1x 1TB HDD
$119.00
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$89.99
DELL POWEREDGE R300 SMT Inter Xeon 3.16 GHz Server w/4 GB/ISILOGIC Controller
$99.99
1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME
$247.00