Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: perthie on October 25, 2009, 11:56:23 AM

Title: A computer that won't run TIny Core
Post by: perthie on October 25, 2009, 11:56:23 AM
I have a machine that dual boots WinXP and Linux that has never been able to launch a TC Live CD. It gets as far as looking for swap partitions, then aborts with a hex dump.

I eventually discovered that if I used the NOFSTAB option, it would boot successfully and work fine in cloud mode.  But if I tried PPR mode, it would report that the Linux partition was invalid (because it was not registered in fstab?). However commands like fdisk and e2fsck reported no problems with the Linux partition and I could mount it manually.

I also found that running "sudo rebuildfstab" from a terminal would completely lock up the machine.  This command terminates gracefully on my other TC machines.

It seems like the rebuildfstab binary is detecting something non-standard with the hardware or maybe the NTFS partition and aborts at that point instead of allowing the boot process to continue.  

TC is the only Linux Live CD I have seen that has this problem.  I can appreciate that this is a difficult situation to debug and it may be unique to my particular machine.
Title: Re: A computer that won't run TIny Core
Post by: roberts on October 25, 2009, 12:50:31 PM
Have you tried with v2.5rc1 as there was a change to rebuildfstab?
Title: Re: A computer that won't run TIny Core
Post by: perthie on October 25, 2009, 01:30:32 PM
Have you tried with v2.5rc1 as there was a change to rebuildfstab?
Yes, and it aborted too.
Title: Re: A computer that won't run TIny Core
Post by: roberts on October 25, 2009, 02:13:56 PM
What does blkid /dev/xxx display, where xxx is the device partition in question?
Title: Re: A computer that won't run TIny Core
Post by: perthie on October 25, 2009, 02:39:47 PM
blkid /dev/sda1 reports TYPE="ntfs"

blkid /dev/sda2 reports UUID=.... SEC_TYPE="ext2" TYPE="ext3"

There is nothing out of the ordinary.
Title: Re: A computer that won't run TIny Core
Post by: roberts on October 25, 2009, 02:47:04 PM
Does the command fstype /dev/sda1 and fstype /dev/sda2 return the correct file system type?
Title: Re: A computer that won't run TIny Core
Post by: perthie on October 25, 2009, 03:25:59 PM
Does the command fstype /dev/sda1 and fstype /dev/sda2 return the correct file system type?
yes
Title: Re: A computer that won't run TIny Core
Post by: roberts on October 25, 2009, 05:40:45 PM
Last step to try...

Become root.
$ sudo -s
# sh -x /usr/sbin/rebuildfstab

Post the last few lines of this script before it hangs.
Title: Re: A computer that won't run TIny Core
Post by: perthie on October 25, 2009, 06:47:39 PM
It appears to have dumped the contents of /sys/block

... /sys/block/loop50 /sys/block/loop51.....

followed by (approximately)

+ dirname /sys/block/hda/device
+ basename sys/block/hda
+sed s/\!\/g
+DEVNAME=hda
+FSTYPE=
+MASTERADDED=/dev/hda
+fstype /dev/hda

Seeing how there were all the references to hda, I rebooted with NOFSTAB and tried to mount a CD in hda. It promptly locked up. 


Title: Re: A computer that won't run TIny Core
Post by: roberts on October 25, 2009, 06:55:55 PM
Can you disable hda in your BIOS?
Title: Re: A computer that won't run TIny Core
Post by: perthie on October 25, 2009, 07:15:32 PM
Can you disable hda in your BIOS?

I tried, but then it wouldn't boot the Live CD ;)

I think that we can chalk this up to the eccentricities of this particular machine and quit there.

Thanks.

Title: Re: A computer that won't run TIny Core
Post by: ^thehatsrule^ on November 17, 2009, 06:42:15 PM
If you still have access to the system, could you post the hdd controller model for future reference?

Not to drag this back up, but I think there were some problems with some mode for some Intel chip.