[SOLVED]initrd, linuxrc, SLEEP=5

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
Falcony
Full of knowledge
Full of knowledge
Posts: 235
Joined: 01 Jan 2011, 12:44
Location: Russia

[SOLVED]initrd, linuxrc, SLEEP=5

Post#1 by Falcony » 18 Jul 2011, 11:51

Dear @fantom & @brokenman,

In linuxrc there is "SLEEP=5" param.

I have Toshiba Portege slim laptop with DVD delay time to reading CD/DVD is about 10 sec.

This is good device but slow with any media.

May be it is done by manufacturer for saving power. May be - I do not know - but this device works in such way with any media.

I setup "SLEEP=25" and now Porteus boots from CD.

I do not know is this bug or not - just see booting stoppped, fixed and say to developers L)
Last edited by Falcony on 19 Jul 2011, 04:20, edited 2 times in total.

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: initrd, linuxrc, SLEEP=5

Post#2 by Hamza » 18 Jul 2011, 12:01

Hello,

You don't to edit the linuxrc script.

You just need to use the 'delay=' cheatcode.

E.g : delay=25 will fix your hardware problem.

Cheers!
NjVFQzY2Rg==

User avatar
fanthom
Site Admin
Site Admin
Posts: 4617
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: initrd, linuxrc, SLEEP=5

Post#3 by fanthom » 18 Jul 2011, 14:29

@Falcony
will raise 'SLEEP=' value to 10 seconds by default. as Hamza said: users can use 'delay=' cheatcode if they want more.
thanks for bug report.
Please add [Solved] to your thread title if the solution was found.

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: initrd, linuxrc, SLEEP=5

Post#4 by Hamza » 18 Jul 2011, 15:22

@Falcony,

Is this topic solved ?
NjVFQzY2Rg==

Falcony
Full of knowledge
Full of knowledge
Posts: 235
Joined: 01 Jan 2011, 12:44
Location: Russia

Re: initrd, linuxrc, SLEEP=5

Post#5 by Falcony » 19 Jul 2011, 04:18

Sure l)

I forgot about cheat code, thanks

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: [SOLVED]initrd, linuxrc, SLEEP=5

Post#6 by Hamza » 19 Jul 2011, 09:53

Topic solved.
NjVFQzY2Rg==

Post Reply