Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HDD boot, cannot mount USB CD/DVD drive

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> User Feedback
View previous topic :: View next topic  
Author Message
mcnelson



Joined: 06 Dec 2006
Posts: 8

PostPosted: Fri Dec 08, 2006 1:09 am    Post subject: HDD boot, cannot mount USB CD/DVD drive Reply with quote

The system was booted from a Sony USB CD/DVD drive, from a freshly downloaded distribution.

An HD install was done to a compactflash mounted on an ide. The system was then booted from the HD. It does not recognize the CD device.

cat /proc/bus/usb/devices shows the device, but says there is no driver.

"modprobe usb-storage" followed by "cat /proc/usb/devices", shows the CD device with the usb-storage driver But, the file manager and mount tool still seem to be unable to mount it.

Also, mount /dev/sda1 fails and nothing obvious shows up under /dev/usb/

So, what do we do now?
Back to top
View user's profile Send private message
mcnelson



Joined: 06 Dec 2006
Posts: 8

PostPosted: Fri Dec 08, 2006 4:44 am    Post subject: Mounting USB CD/DVD from HD boot - solved. Reply with quote

Here is the answer:

Boot the system from the distribution CD.

Mount the hard disk (or flash)

# mount /dev/hda1 /mnt/hda1

Create the /sys direction on the harddrive, from the running system. (See sysf in wikipedia, or in kernel or driver documentation).

# mkdir /sys /mnt/hda1

Edit the /opt/bootlocal file on the harddrive and add the following line

modeprobe usb_storage

The underscore instead of the hyphen, is important.

Reboot your system now from the harddisk.

You can now mount your CD.

# mount /dev/sr0 /mnt/cdrom
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> User Feedback All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group