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: (4) </ 1 [2] 3 4 >/

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

reply to topic new topic new poll
Topic: Boot Sequence Does Not Complete, ...but how to get out of it?< Next Oldest | Next Newest >
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 27 2008,18:05 QUOTE

Oh. That clears me wondering why would you use lilo. Well, a boot partition works around that; or using the official DSL grub boot floppy, which includes the kernel and initrd on itself, so grub's limitations don't matter.

--------------
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 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Mar. 28 2008,10:05 QUOTE

I'm thinking that this should be possible with grub, I've tried grub-0.95, 0.97, 1.91 and legacy (so far I cannot compile grub2) and all seem to be unable to find the boot partition.

I created the grub boot floppy like this:
Code Sample
$ cd /opt/grub/lib/grub/i386-pc
$ sudo dd if=stage1 of=/dev/fd0 bs=512 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.612537 seconds (836 bytes/sec)
$ sudo dd if=stage2 of=/dev/fd0 bs=512 seek=1
203+1 records in
203+1 records out
104082 bytes transferred in 3.849574 seconds (27037 bytes/sec)
NB: I could not read the resulting floppy, but it boots

My lilo conf looks like this:
Quote
lba32          #enable large disk support
timeout=30     #wait 3 seconds before auto-booting
vga=791
boot=/dev/sdb3   #put Lilo boot loader in partition of target disk
root=/dev/sdb3   #set root to be partition of target disk
image=/boot/linux24
label=DSL
initrd=/boot/minirt24.gz
read-only
APPEND="ramdisk_size=100000 init=/etc/init lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce nodma quiet frugal BOOT_IMAGE=/KNOPPIX/KNOPPIX fromhd=/dev/sdb3 restore=sdb4 toram alsa syslog mydsl=sdb4"


At the grub boot prompt, I tried this:
Code Sample
> root (hd1,2)
error 22: no such partition
> rootnoverify hd(1,2)
> kernel /boot/linux24 root=/dev/sdb3
error 22: no such partition

- am I making a mistake somewhere?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Mar. 28 2008,14:56 QUOTE

If I get what curaga is getting at, the boot partition would be of a small size being the very first (i.e. sdb1) just to hold the kernels and inirtd's so that it may get around size limitations. I'm assuming you're only using the grub floppy disk to install the bootloader here, and not act as a DSL bootfloppy.

Not sure what you really want to do now, but you could also look into rescue disks.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Mar. 28 2008,15:12 QUOTE

Quote
Not sure what you really want to do now, but you could also look into rescue disks.

- all I want to do is to boot the dsl image on /mnt/sdb3 from a grub boot floppy so that I can pass dsl boot codes to it (eg base norestore) since I cannot from lilo.

I can already use a dsl boot floppy and boot "fromusb" to be able to access the frugal hd install and fix things, but it's very long on this old machine.

Anyway, progress is being made - I managed to compile grub2 (by replacing bison-1.875 in compile-3.3.5 with bison-2.15) and device.map at least mentions /dev/sdb which I never got in grub1.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 28 2008,15:35 QUOTE

Oh. I hadn't noticed DSL4 does not have a grub boot floppy. DSL 3 has. One could be manually made..

--------------
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 
17 replies since Mar. 25 2008,07:21 < Next Oldest | Next Newest >

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

Pages: (4) </ 1 [2] 3 4 >/
reply to topic new topic new poll
Quick Reply: Boot Sequence Does Not Complete

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