Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: mcnalu on April 11, 2009, 03:11:24 PM

Title: lilo and tce bootcode
Post by: mcnalu on April 11, 2009, 03:11:24 PM
I've got lilo installed in my mbr bootloader and am having trouble specifying
my tce dir.

I editted lilo (when booted up in slackware) so that it had:

append=" vt.default_utf8=0 hda=noprobe tce=sda1"

(the first few are for slackware) and I have a /tce folder on the ext2 file system on /dev/sda1.

But, this seems to have no effect. Should this work or am I doing something silly?
Title: Re: lilo and tce bootcode
Post by: curaga on April 12, 2009, 09:41:01 AM
After booting, does it show in the bootcodes? (run the command "showbootcodes")
Title: Re: lilo and tce bootcode
Post by: mcnalu on April 13, 2009, 10:13:10 AM
thanks - didn't know about showbootcodes, it confirmed they were being passed correctly.

But I've found the problem - I just needed to put waitusb=5 before tce=sda1. I think this is important because tc is on the SD card of my asus eeepc 1000h

Also, to keep my slackware and tc options separate, I moved the append command into the tinycore section of lilo.conf rather than adding to the append in the global section. Now that hda=noprobe is not being set, tc can now see all my sata hard drive partitions as hda1, hda2 etc. -  previously tc could only see the single partition on my SD card.

So this is a new issue - shouldn't my sata hard drive be sda and the SD card sdb? This is what the hda=noprobe is for in slackware?
Title: Re: lilo and tce bootcode
Post by: ^thehatsrule^ on April 13, 2009, 01:51:02 PM
TC uses both hdX/sdX.  The chipset probably has SATA in an IDE compatibility mode (or combined..?).  If possible, try setting the mode to AHCI or native mode in the BIOS.
Title: Re: lilo and tce bootcode
Post by: mcnalu on April 13, 2009, 04:02:11 PM
BIOS options are pretty limited - there's no option to set to ACHI.

Having hda rather than sda isn't causing any obvious problems though.