Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: jur on November 28, 2010, 04:15:13 PM

Title: Suggestion: waitusb to be made auto
Post by: jur on November 28, 2010, 04:15:13 PM
It seems to me one of the problems most often coming up in this forum is the persistence on USB drives.

So I wonder if it is possible to make this an auto option? eg if it could be detected that the tce=xxx points to a usb drive, then the waitusb=UUID-xxxx=20 be executed automatically.
Title: Re: Suggestion: waitusb to be made auto
Post by: gerald_clark on November 28, 2010, 04:27:57 PM
It can't know the UUID until the drive is ready.
You can't wait for an unknown UUID.

sda would more likely be a sata drive on a modern machine than a USB drive.

Perhaps adding waitusb=20 to the bootoptions on the CD would be useful.
Title: Re: Suggestion: waitusb to be made auto
Post by: maro on November 28, 2010, 05:26:20 PM
Perhaps adding waitusb=20 to the bootoptions on the CD would be useful.

I take it you are suggesting to have multiple boot labels in 'isolinux.cfg', as otherwise everone could be "punished" with a wait time.
Title: Re: Suggestion: waitusb to be made auto
Post by: Guy on November 29, 2010, 02:22:09 AM
If you install using USB Install, it includes waitusb=5:UUID=xxxx. I think that is adequate for most computers. Probably over 99%.

I suspect that most of the people having problems, are those not using USB install, but setting it up manually, and not including waitusb=5.

I will be surprised if you can find a computer which needs any longer than waitusb=10.

If waitusb=10 or 20 is implemented, it needs to be done in such a way that it does not slow down those who don't need it. Which may be somewhere between difficult and impossible.