WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: lilo and tce bootcode  (Read 3040 times)

Offline mcnalu

  • Newbie
  • *
  • Posts: 20
lilo and tce bootcode
« on: April 11, 2009, 12: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?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10982
Re: lilo and tce bootcode
« Reply #1 on: April 12, 2009, 06:41:01 AM »
After booting, does it show in the bootcodes? (run the command "showbootcodes")
The only barriers that can stop you are the ones you create yourself.

Offline mcnalu

  • Newbie
  • *
  • Posts: 20
Re: lilo and tce bootcode
« Reply #2 on: April 13, 2009, 07: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?

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: lilo and tce bootcode
« Reply #3 on: April 13, 2009, 10:51:02 AM »
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.

Offline mcnalu

  • Newbie
  • *
  • Posts: 20
Re: lilo and tce bootcode
« Reply #4 on: April 13, 2009, 01: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.
« Last Edit: April 16, 2009, 02:40:17 PM by mcnalu »