Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ [1] 2 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to reconfigure the minirt image< Next Oldest | Next Newest >
PaulFXH Offline





Group: Members
Posts: 26
Joined: Aug. 2007
Posted: Aug. 10 2007,08:44 QUOTE

I want to boot DSL 3.4 from one of my external (usb) HDDs. However, the BIOS in my Dell Dimension 4550 doesn't allow booting from an external drive.
Nevertheless, it is fairly easy to overcome this by letting the vmlinuz (linux24) and initrd (minirt24) images load from somewhere accessible (e.g. a bootCD or an internal drive), loading the initial RAM disk (which must have modules to allow access to the external drive) and then changing the root (within /boot/grub/menu.lst) to wherever DSL is mounted (on the external drive) so that booting can proceed.
I've already done this with quite a number of other Linux distros but DSL is causing me a problem.
I hope somebody with more experience can help me resolve this.
From what I can see, DSL 3.4 initial RAM disk already has the ability to access an external usb drive so no other modules need to be included.
The problem, for me at least, seems to be that insufficient delay is allowed to give the external drive time to "get up to speed" before it's asked to allow booting to the "real" root.
I believe I need to open
Code Sample
/etc/mkinitrd/mkinitrd.conf

and then change this line
Code Sample
DELAY=0

to allow a delay of 20 seconds.
After this the minirt24 image must be reconfigured.
My problem is that I cannot find how to do the reconfiguring.

Can somebody please
1) tell me if my reasoning is correct
2) show me how to build/create a reconfigured initrd image (minitr24)

Thanks
Paul
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Aug. 10 2007,09:15 QUOTE

Sorry, but that's completely wrong.. DSL doesn't use Debian's mkinitrd, the DSL image (actually Knoppix's) was handcrafted.

But to edit it just gunzip and loop mount it, and add a sleep statement in linuxrc just after loading usb modules..


BTW did you try the "waitusb" bootcode? it is exactly for waiting for slow usb devices...


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
PaulFXH Offline





Group: Members
Posts: 26
Joined: Aug. 2007
Posted: Aug. 10 2007,10:29 QUOTE

Quote
did you try the "waitusb" bootcode? it is exactly for waiting for slow usb devices...

Thanks for your reply. No, I have not come across the "waitusb" command before but I gave it a try.
The entry for DSL that I used is as follows:

Code Sample

title     DSL 3.4
root     (hd0,5)
kernel   /boot/linux24    root=/dev/sdb1
initrd    /boot/minirt24.gz   waitusb=20
boot

Unfortunately, this did not allow me to boot into DSL as no "delay" seems to have resulted.
Interestingly, I find that once DSL drops me to the (very limited) shel (when it can't locate the "real" root), I can continue the booting just by typing "exit" whereupon, it finds the external derive and proceeds to boot. Indeed, I'm sending this from DSL now.

I would be grateful if you, or anybody else, can take a look at my /boot/grub/menu.lst entry for DSL and comment on where I placed the "waitusb" option.

Thanks
Paul
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Aug. 10 2007,11:49 QUOTE

it does not take arguments, and linux options are placed in the "kernel" line.. Here's a fixed ver:
Quote
title  ---DSL 3.4---
root (hd0,5)
kernel /boot/linux24 root=/dev/sdb1 waitusb
initrd /boot/minirt24.gz


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
tinker Offline





Group: Members
Posts: 33
Joined: May 2007
Posted: Aug. 10 2007,14:07 QUOTE

I understand how PaulFXH didn't find this. Waitusb is not on the wiki page about startup commands. One can find it easily  if they do a forum search for waitusb as keyword but one would have to already know it existed. Winnowing through the chaff of all posts about usb to find that as an available boot option would be a larger task. I learned something from this to add to my notebook too, thanks curaga.
Back to top
Profile PM 
20 replies since Aug. 10 2007,08:44 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ [1] 2 3 4 5 >/
reply to topic new topic new poll
Quick Reply: How to reconfigure the minirt image

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code