Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Installing on SATA disk, Cant copy modules. wont boot.< Next Oldest | Next Newest >
TomKnowles Offline





Group: Members
Posts: 9
Joined: Jan. 2006
Posted: Sep. 23 2008,19:36 QUOTE

I have been using DSL for some years now on an epos project. The beauty is that I can do complete installations (ready to go) from a usb stick. The supplier is shipping only SATA based hardware now, and I cant seem to get DSL loaded to run from the sata HD. With sata support on the boot line, the installation goes normally until just before the Grub install, with complaints about libata and then via_sata, no such modules. If I let it go thru the grub install, it will then not boot. The question is, can DSL be installed successfully on sata, or is sata support just for access to same. I'm not sure what to do next.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 25 2008,05:12 QUOTE

Did you try lilo?

I haven't tested SATA yet, but I find that it's kind of odd that grub install would try to load those modules when they should already be in memory, but maybe it does need them.

Can you verify if they are already in memory?  (i.e. `lsmod|grep ata `)  If they are already loaded and grub still spits out that error, you could manually copy over those 2 modules from the initrd (libata and I assume you meant sata_via) into /ramdisk (iirc you might also have to remove the symlinks from /lib/modules/`uname -r`/modules.* and copy over the actual files from /KNOPPIX to /ramdisk and then run depmod)
Back to top
Profile PM 
TomKnowles Offline





Group: Members
Posts: 9
Joined: Jan. 2006
Posted: Sep. 25 2008,15:35 QUOTE

Thanks for the reply.
I tried lilo on one occasion as I retried the load, but the subsequent boot said loading grub then error 15. Seems pointless to dilute the problem with that one at the mo.
The lsmod command shows libata and sata_via (you presumed right) are loaded in memory. I did think about copying the appropriate items, but I'm not sure where they are (precisely). I cant find anything like libata and the only ref to sata_via is in /proc/sys. Could you possibly enlighten me, as I dont seem to know what I'm looking for? If you can be bothered, could you step me thru the necessary stages?
Many thanks
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 25 2008,18:30 QUOTE

Quote
I tried lilo on one occasion as I retried the load, but the subsequent boot said loading grub then error 15. Seems pointless to dilute the problem with that one at the mo.
I guess lilo couldn't install either, as it (usually) will overwrite whatever's previously there.  Were there any errors/warnings when doing the lilo install?  I'm assuming the rest of your steps to install DSL is fine though, except for this sata problem.

The location of the initrd depends on your setup, but it should be something like /cdrom/boot/isolinux/minirt24.gz on a livecd.  Since you indicated an liveusb frugal, perhaps it is in another location.  If this is the case, try running `find /cdrom | grep minirt `.  If that still doesn't find it, look in /mnt/sdXx (after mounting the device).

Mounting the initrd to /mnt/m
Code Sample
mkdir /mnt/m
cp /cdrom/boot/isolinux/minirt24.gz /tmp
cd /tmp
gunzip /tmp/minirt24.gz
sudo mount -o loop minirt24 /mnt/m
cd /mnt/m


Copy your modules to somewhere in /lib/modules/`uname -r`/kernel/drivers/ (maybe scsi/)

Update the modules stuff: with `sudo depmod`
Back to top
Profile PM 
TomKnowles Offline





Group: Members
Posts: 9
Joined: Jan. 2006
Posted: Sep. 26 2008,09:51 QUOTE

I followed your instructions, then did dsl-hdinstall, I presume that's correct. There was no mention of libata etc, so I presumed all was OK. When I reboot I get..
Grub loading, please wait... then Error 15.
Do you think this is a grub or a sata issue?  Can you assist me further? How close are you to the deveopment chain? With sata disks so proliferate now, do you think this issue is likely to be addressed in upcoming releases? Sorry for all the questions, but DSL has been a godsend in the past.
Back to top
Profile PM 
14 replies since Sep. 23 2008,19:36 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Installing on SATA disk

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code