[HELP NEEDED] DSL Beginner & Linux noob
Forum: Other Help Topics
Topic: [HELP NEEDED] DSL Beginner & Linux noob
started by: pt-1
Posted by pt-1 on Aug. 26 2008,20:32Dear all,
I suesfully installed DSL 4.4 on an embedded system with ~ 288MB Memory and a 2.5" 10GB HDD.
I succesfully managed to install VNC and also SSH via command line but I now struggle to connect my 320GB external Seagate USB HDD.
I am a absolute Linux beginner and used the search function and google but I cannot fix my issue.
Basically I found in the /Var/Log/Message that the drive is somehow detected but not mounted:
lsusb -v gets me:
I would just like it to be mapped to /mnt/usb1 on a permanent basis.
I also have 2 Linkstations and I can use the MyDslBrowser and download and install local the samba.dsl packet but it seems to be kept in /tmp/mydsl and needs to be re-added after every reboot.
The path in mount -l is:
How could I do this permanent without using the Samba tool ?
Posted by chaostic on Aug. 27 2008,02:47Re: The USB Drive.
The drive won't automount. You need to mount it. From the terminal/ssh, you can do:
Assuming it has only one partition, and you haven't created the usb1 folder yet.
What does "dmesg" say after you plug the drive in?
Posted by pt-1 on Aug. 27 2008,06:50EDIT !! Just found via scanning the log that the USB Drive has been assigned sdb1 so therfore I modified the line into:
and mount -l shows:
How do I now make this permanent and how can I permanently add the 2x Linkstations I have and also share the USB Drive within my Windows Workgroup ?
Just as a help for others who have a simular issue.
dmesg produced the following (part log)
The hint was here:
Posted by chaostic on Aug. 27 2008,08:31First, how did you install it to the system? Harddrive/Debian install? Frugal? CD drive? Persistant home or opt?
sdb1, so scsi device (USB is emulated through scsi) B (Second scsi/usb device found), partition 1. This might change sometimes, depending on what drives you have connected, and random chance of which order the computer scanned them during the hardware recognition part of booting.
The quickest way to add the local usb drive is by adding a new entry into the /etc/fstab file for the drive similar to:
/dev/sdb1 on /mnt/usb1 type vfat (rw)
or to the current auto-configure entries that are already in that file. Now add this file to the backup filelist. Then you need to add the nofstab cheatcode to your boot loader/method. Finally, add
"mkdir -p /mnt/usb1; mount /mnt/usb1"
to one of the startup scripts,
which will only try mounting the drive once, after booting, and not every time X is started. See < http://www.damnsmalllinux.org/wiki/index.php/Bootlocal.sh >
As for the Linkstations, I assume they are network harddrives? If so, and can only be accessed by Samba, you would need the samba extension every time (As Far As I Know, since I have not used it at all), so you would need to save the samba.dsl extension somewhere where it can be loaded locally. Since you have a harddrive, on there works. After downloading it, just
"cp /tmp/mydsl/samba.dsl /mnt/hda1/"
Then just add
"mydsl=hda1" (Or whatever your harddrive is) and the samba.dsl should be loaded. Add the linkstation entries to fstab accordingly, and mount commands to /opt/bootlocal.sh like you did for the local usb one.
For sharing, I have no idea.
PS, you mentioned embedded pc? What type/model/make?
Posted by pt-1 on Aug. 27 2008,08:39Hello Chaostic,
I booted the embedded machine from a Memorystick and then installed DSL via the built in functionality to my 2.5" HDD I installed.
I had to fdisk it first and partition with a swap and the main Partition.
The System I found in our scrap box at work is a Neoware CA5 and some Info can be found here:
< http://www.jonshouse.co.uk/neoware_ca5disk.cgi > (not my site !) and I used a 256 Dimm from an Old Dell Laptop.
I use grub as a boot menu and will need to tweak the screen resolution a bit as I connected it to my Plasma TV via VGA and the screen does not come on.
The Buffallo Linkstations are Network Drives running Linux but sharing the internal Drive via Samba to Windows PC's and run a Print server too.
The Drives itself are formatted ext so I might have a play to mount to them without Samba.
The last hurdle I would like to manage is installing my Epson Photo R300 Printer on DSL to share it with my Windows machines.
Any help or hints would be wonderfull
Posted by chaostic on Aug. 27 2008,09:21Nice. I have a couple of CA-10's and Capio200 (I think anyway) as well.
But, when you installed, did you use the install as Frugal, or install as Debian/Harddrive Install?
For the Linkstations, see if they have an option for nfs. If so, no extension is needed to mount them.
Posted by pt-1 on Aug. 27 2008,12:55Hi & Thanks again,
I shall have a read through your last post but here is a quick answer to the one before:
I followed this guide: < http://www.damnsmalllinux.org/dsl-hd-install.html > and then selected GRUB as a Boot Option
It asked for stuff like multiple users etc. but I am unsure about the Frugal Part. I have a second Unit that I can retrace my steps and make notes.
The last favor would be how to make the now shared USB Drive visible to my Windows Workgroup and my Xbox running Xbox Media Centre
Posted by chaostic on Aug. 28 2008,05:48So you have a hd-install, not a frugal install. It might change a couple of things in what I told you, but not sure. Let us know if what I said didn't work.
As for sharing to a Samba network, see:
< http://damnsmalllinux.org/cgi-bin....8;st=10 >
< http://damnsmalllinux.org/cgi-bin....a+share >
< http://damnsmalllinux.org/cgi-bin....a+share >