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





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: June 07 2008,06:47 QUOTE

Whilst playing around with linux from scratch (promted by curaga mentioning xorg-7.2 in beyond linux from scratch), I finally managed to get grub (grub-0.97) to write to a hd on my ancient scsi hd desktop.

I'd like to set grub up so it boots dsl-3.x from one hd, lfs from the other and dsl-n/dsl-4.x from usb sticks (in the same slot so they'd always be sdc1). So far, I've managed this as a grub menu:
Quote
# Begin /boot/grub/menu.lst

# By default boot the first menu entry.
default 0

# Allow 30 seconds before booting the default.
timeout 30

# Use prettier colors.
color green/black light-green/black

# The first entry is for LFS.
title LFS 6.3
root (hd0,1)
kernel /boot/lfskernel-2.6.22.5 root=/dev/sda2

# The second entry is for dsl-n
title dsl-n
root (hd2,0)
kernel /linux root=/dev/sdc1 dsl base norestore noacpi toram
initrd /minirt.gz
makeactive
boot

# the third entry is for dsl-3.x
title dsl-3.x
root (hd1,2)
kernel /boot/linux24 root=/dev/sdb3 lang=us apm=power-off nomce nodma quiet frugal restore=sdb4 toram alsa syslog mydsl=sdb4
initrd /boot/minirt24.gz
makeactive
boot

A couple of questions:

1. Do I need to include "ramdisk_size=100000 init=/etc/init" in the dsl-3.x entry?
2. dsl-n will not boot with the error "hd(2,0) does not exist" - I guess this is because /linux first needs to load before it can "see" /dev/sdc1. What's the best way to get around this, copy /linux somewhere on a hd?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 07 2008,14:27 QUOTE

- makeactive is not needed
- you do need to include everything that's in DSL isolinux.cfg, including all ramdisk_size etc
edit: unless they wouldn't be needed there either, but that's another thing

About (hd2,0), you sure it's that? Did you see it in grub when typing hd( and tab?
If grub can't see it, the standard policy is indeed copying the kernel and initrd somewhere else. I use this often to boot cd's/usb's on comps that can't do so natively.

PS: Nice to see another LFS convert :)


--------------
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: June 09 2008,14:32 QUOTE

Quote
About (hd2,0), you sure it's that? Did you see it in grub when typing hd( and tab?
- at the time I had used a floppy fromusb dsl-n boot to chroot into lfs and I think this allowed grub to "see" the usb stick as hd2. However, maybe I imagined this and anyway, when booted normally grub does not see the usb stick so I guess I will need to copy the dsl-n boot files to hd somwhere and boot fromhd=/dev/sdc1.

Also:
Quote
kernel /boot/linux24 root=/dev/sdb3 lang=us apm=power-off nomce nodma quiet frugal restore=sdb4 toram alsa syslog mydsl=sdb4
restores the backup but does not load the extensions in /mnt/sdb4/mydsl??
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