Re: Help with LiveCD/LIveDVD

2007-11-05 Thread Andreas Bihlmaier
Hi,
sorry for the very late reply, but my obsd.misc mail folder has grown to
3000 mails during the last couple weeks while I was busy moving.

Anyway, I'm as the original author of said page can confirm (sadly) that
you might run into a (known!?) cdboot bug. For some reason cdboot can't
boot a DVD exceeding a certain size and or containing more than a
certain amount of files.

There is a rather ugly, but at least working way around.
Josh Grosse found it while building his live CDs, which can be found
here, btw.:
http://jggimi.homeip.net/livecd/faq.html

The problem arouse with the KDE ones, the "solution" is to pack
/usr/local into its own .iso (or perhaps a vnc mounted image would work
as well) and mount it during startup.

I did not build a LiveCD for a long time myself, but I hope too have
"free time" coming up and will then update the instructions where
necessary.

Regards,
ahb


On Mon, Oct 22, 2007 at 09:35:18AM -0500, Ted M. Goodridge, Jr. wrote:
> qemu doesn't work for some reason.  Anytime I try and use qemu I get the 
> error "Cannot initialize SDL library..."
>
> Yes, I have tried it in different hardware.  What exactly do cdbr and 
> cdboot do?  I get the screen that says "OpenBSD boot loader" (with the 
> hardware fd1 etc listed), with the "Loading /CDBOOT" above it and it just 
> hangs.
>
> cdbr is listed in the installation instructions as the cdboot loader.  
> cdboot is the second stage boot loader IIRC.  Don't hesitate to correct me 
> if I'm wrong here.
>
> The help is apprecitated.  I'm not trying to make install media (that would 
> actually be easy), just boot this liveCD.  Has anyone else gotten a LiveDVD 
> to work?
>
> Ted
>
>
> On Mon, 22 Oct 2007 09:21:06 -0500, Nick Guenther <[EMAIL PROTECTED]> wrote:
>
>> On 10/22/07, Ted M. Goodridge, Jr. <[EMAIL PROTECTED]> wrote:
>>> Hello all,
>>>
>>> Please CC to me directly as I am offlist...
>>> Relevant info:
>>> ---
>>> I'm burning a re-writable DVD using the above instructions
>>>
>>> The mkisofs command to burn the image is as follows:
>>>
>>> /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d
>>> -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd
>>>
>>> 
>>> Any help would be greatly appreciated.  I'm pushing against a deadline, 
>>> so
>>> any tips / pointers / suggestions are also appreciated
>>
>> Have you tested the .iso in QEMU? Have you tried it on different
>> hardware? Maybe it's because it's a DVD (DVDs might need more drivers
>> than the boot loader has? Maybe try cdboot instead of cdbr?
>>
>> -Nick
>
>
>
> -- 
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



Re: Help with LiveCD/LIveDVD

2007-10-22 Thread Pau Amaro-Seoane
Hi,

I hope you succeed. I'd be very itnerested in a live cd/dvd for obsd.
As you say, it's ideal to test hardware, but I don't have to time to
do it myself. Btw, why obsd 4.1?
Do you plan to upload the iso to some site? There were some projects,
like quetzal and olivebsd, but they died, I think.

good luck,

Pau

2007/10/22, Ted M. Goodridge, Jr. <[EMAIL PROTECTED]>:
> Hello all,
>
> Please CC to me directly as I am offlist...
>
> I am building a LiveCD/LiveDVD based on OpenBSD 4.1 snapshot.  I know this
> is an unofficial page, but I followed the instructions here:
> http://openbsd-wiki.org/index.php?title=LiveCD
>
> I'm using 4.1 because of the libraries required on the LiveDVD.  This
> LiveDVD is used for in-house hardware diagnostics with customized programs
> written for BSD.  I thought it would be easier to boot from CD rather than
> installing OpenBSD on every machine we need to use as a hardware testbed.
>
>
> The only changes I made to the above instructions were to copy the
> "backup/{}" directories instead of tar'ing them and unzipping them.
>
> Everything works fine until the hang on boot with the message: "Loading
> CBDR.."  The disc then fails to boot.
>
> Relevant info:
> ---
> I'm burning a re-writable DVD using the above instructions
>
> The mkisofs command to burn the image is as follows:
>
> /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d
> -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd
>
> 
> Any help would be greatly appreciated.  I'm pushing against a deadline, so
> any tips / pointers / suggestions are also appreciated.
>
> Ted Goodridge



Re: Help with LiveCD/LIveDVD

2007-10-22 Thread Nick Guenther
On 10/22/07, Ted M. Goodridge, Jr. <[EMAIL PROTECTED]> wrote:
> >> cdbr is listed in the installation instructions as the cdboot loader.
> >> cdboot is the second stage boot loader IIRC.  Don't hesitate to correct
> >> me
> >> if I'm wrong here.
> >
> > Oh, no, that sounds about right, I guess.
> >
> >> The help is apprecitated.  I'm not trying to make install media (that
> >> would actually be easy), just boot this liveCD.  Has anyone else gotten
> >> a
> >> LiveDVD to work?
> >>
> >> Ted
> >
> > If you make a LiveCD (not DVD) does it work?
>
> The How-to says you can use this to build a LiveDVD.  I thought that the
> bios booted the same if it was a dvd or a cd...?  I really need the space
> a DVD offers.

Yeah you'd think that. But don't trust it.

> Does the CD boot loader have trouble with DVDs?

It might. Who knows? CDs are a much more standard technology. Try it
first with CDs and make sure that works. Always work from a known
good, right?

You could always netboot (PXE) these computers, you know.

-Nick



Re: Help with LiveCD/LIveDVD

2007-10-22 Thread Ted M. Goodridge, Jr.



Some additional info: I did install the qemu from package.  Running qemu  
under X gives me this:

qemu -cdrom livecd.iso -boot d


qemu: fatal: Trying to execute code outside RAM or ROM at 0x90b8c35d

EAX=fc468900 EBX=ff468aff ECX= EDX=87499875
ESI=c35dec89 EDI=0004ae00 EBP=ec89c031 ESP=7d60
EIP=90b8c35d EFL=0002 [---] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010   00cf9300
CS =0008   00cf9f00
SS =0010   00cf9300
DS =0010   00cf9300
FS =0010   00cf9300
GS =0010   00cf9300
LDT=   8000
TR =   8000
GDT= 00044120 0027
IDT= 00043e88 027f
CR0=6011 CR2= CR3= CR4=
CCS= CCD=87499876 CCO=SUBL
FCW=037f FSW= [ST=0] FTW=00 MXCSR=1f80
FPR0= FPR1=
FPR2= FPR3=
FPR4= FPR5=
FPR6= FPR7=
XMM00=  
XMM01=
XMM02=  
XMM03=
XMM04=  
XMM05=
XMM06=  
XMM07=

Abort trap (core dumped)
--
In addition, I can get the cd to boot if i use the standard floppy42.fs as  
the boot, but then it takes me into the install
script.  I did copy everyting in step 11 from  
http://openbsd-wiki.org/index.php?title=LiveCD to the disk (the root of  
the disk does have both /cdboot and /cdbr).


Any suggestions would be greatly appreciated.  "misc" seems to be the  
catch all mailing list according to www.openbsd.org/mail.htm, which is why  
I'm posting it here.


Ted Goodridge



Re: Help with LiveCD/LIveDVD

2007-10-22 Thread Nick Guenther
On 10/22/07, Ted M. Goodridge, Jr. <[EMAIL PROTECTED]> wrote:
>
>
> On Mon, 22 Oct 2007 09:21:06 -0500, Nick Guenther <[EMAIL PROTECTED]> wrote:
>
> > On 10/22/07, Ted M. Goodridge, Jr. <[EMAIL PROTECTED]> wrote:
> >> Hello all,
> >>
> >> Please CC to me directly as I am offlist...
> >> Relevant info:
> >> ---
> >> I'm burning a re-writable DVD using the above instructions
> >>
> >> The mkisofs command to burn the image is as follows:
> >>
> >> /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d
> >> -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso
> >> /livecd
> >>
> >> 
> >> Any help would be greatly appreciated.  I'm pushing against a deadline,
> >> so
> >> any tips / pointers / suggestions are also appreciated
> >
> > Have you tested the .iso in QEMU? Have you tried it on different
> > hardware? Maybe it's because it's a DVD (DVDs might need more drivers
> > than the boot loader has? Maybe try cdboot instead of cdbr?
> >
> > -Nick
> qemu doesn't work for some reason.  Anytime I try and use qemu I get the
> error "Cannot initialize SDL library..."

Is SDL installed right?
Wait.. are you running in X or console? Qemu needs graphics.

> Yes, I have tried it in different hardware.  What exactly do cdbr and
> cdboot do?  I get the screen that says "OpenBSD boot loader" (with the
> hardware fd1 etc listed), with the "Loading /CDBOOT" above it and it just
> hangs.
>
> cdbr is listed in the installation instructions as the cdboot loader.
> cdboot is the second stage boot loader IIRC.  Don't hesitate to correct me
> if I'm wrong here.

Oh, no, that sounds about right, I guess.

> The help is apprecitated.  I'm not trying to make install media (that
> would actually be easy), just boot this liveCD.  Has anyone else gotten a
> LiveDVD to work?
>
> Ted

If you make a LiveCD (not DVD) does it work?

-Nick



Re: Help with LiveCD/LIveDVD

2007-10-22 Thread Ted M. Goodridge, Jr.

cdbr is listed in the installation instructions as the cdboot loader.
cdboot is the second stage boot loader IIRC.  Don't hesitate to correct  
me

if I'm wrong here.


Oh, no, that sounds about right, I guess.


The help is apprecitated.  I'm not trying to make install media (that
would actually be easy), just boot this liveCD.  Has anyone else gotten  
a

LiveDVD to work?

Ted


If you make a LiveCD (not DVD) does it work?


The How-to says you can use this to build a LiveDVD.  I thought that the  
bios booted the same if it was a dvd or a cd...?  I really need the space  
a DVD offers.


Does the CD boot loader have trouble with DVDs?

Ted



Re: Help with LiveCD/LIveDVD

2007-10-22 Thread Ted M. Goodridge, Jr.
Just an update...it hangs on the message "Loading /CDBOOT" not cdbr as  
previously posted.  Sorry about that.


CC me directly as I am offlist.

Ted Goodridge
--


Hello all,

Please CC to me directly as I am offlist...

I am building a LiveCD/LiveDVD based on OpenBSD 4.1 snapshot.  I know this
is an unofficial page, but I followed the instructions here:
http://openbsd-wiki.org/index.php?title=LiveCD

I'm using 4.1 because of the libraries required on the LiveDVD.  This
LiveDVD is used for in-house hardware diagnostics with customized programs
written for BSD.  I thought it would be easier to boot from CD rather than
installing OpenBSD on every machine we need to use as a hardware testbed.


The only changes I made to the above instructions were to copy the
"backup/{}" directories instead of tar'ing them and unzipping them.

Everything works fine until the hang on boot with the message: "Loading
CBDR.."  The disc then fails to boot.

Relevant info:
---
I'm burning a re-writable DVD using the above instructions

The mkisofs command to burn the image is as follows:

/usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d
-D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd


Any help would be greatly appreciated.  I'm pushing against a deadline, so
any tips / pointers / suggestions are also appreciated.

Ted Goodridge
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



Re: Help with LiveCD/LIveDVD

2007-10-22 Thread Ted M. Goodridge, Jr.
qemu doesn't work for some reason.  Anytime I try and use qemu I get the  
error "Cannot initialize SDL library..."


Yes, I have tried it in different hardware.  What exactly do cdbr and  
cdboot do?  I get the screen that says "OpenBSD boot loader" (with the  
hardware fd1 etc listed), with the "Loading /CDBOOT" above it and it just  
hangs.


cdbr is listed in the installation instructions as the cdboot loader.   
cdboot is the second stage boot loader IIRC.  Don't hesitate to correct me  
if I'm wrong here.


The help is apprecitated.  I'm not trying to make install media (that  
would actually be easy), just boot this liveCD.  Has anyone else gotten a  
LiveDVD to work?


Ted


On Mon, 22 Oct 2007 09:21:06 -0500, Nick Guenther <[EMAIL PROTECTED]> wrote:


On 10/22/07, Ted M. Goodridge, Jr. <[EMAIL PROTECTED]> wrote:

Hello all,

Please CC to me directly as I am offlist...
Relevant info:
---
I'm burning a re-writable DVD using the above instructions

The mkisofs command to burn the image is as follows:

/usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d
-D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso  
/livecd



Any help would be greatly appreciated.  I'm pushing against a deadline,  
so

any tips / pointers / suggestions are also appreciated


Have you tested the .iso in QEMU? Have you tried it on different
hardware? Maybe it's because it's a DVD (DVDs might need more drivers
than the boot loader has? Maybe try cdboot instead of cdbr?

-Nick




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



Re: Help with LiveCD/LIveDVD

2007-10-22 Thread Nick Guenther
On 10/22/07, Ted M. Goodridge, Jr. <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Please CC to me directly as I am offlist...
> Relevant info:
> ---
> I'm burning a re-writable DVD using the above instructions
>
> The mkisofs command to burn the image is as follows:
>
> /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d
> -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd
>
> 
> Any help would be greatly appreciated.  I'm pushing against a deadline, so
> any tips / pointers / suggestions are also appreciated

Have you tested the .iso in QEMU? Have you tried it on different
hardware? Maybe it's because it's a DVD (DVDs might need more drivers
than the boot loader has? Maybe try cdboot instead of cdbr?

-Nick



Help with LiveCD/LIveDVD

2007-10-22 Thread Ted M. Goodridge, Jr.

Hello all,

Please CC to me directly as I am offlist...

I am building a LiveCD/LiveDVD based on OpenBSD 4.1 snapshot.  I know this  
is an unofficial page, but I followed the instructions here:

http://openbsd-wiki.org/index.php?title=LiveCD

I'm using 4.1 because of the libraries required on the LiveDVD.  This  
LiveDVD is used for in-house hardware diagnostics with customized programs  
written for BSD.  I thought it would be easier to boot from CD rather than  
installing OpenBSD on every machine we need to use as a hardware testbed.



The only changes I made to the above instructions were to copy the  
"backup/{}" directories instead of tar'ing them and unzipping them.


Everything works fine until the hang on boot with the message: "Loading  
CBDR.."  The disc then fails to boot.


Relevant info:
---
I'm burning a re-writable DVD using the above instructions

The mkisofs command to burn the image is as follows:

/usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d  
-D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd



Any help would be greatly appreciated.  I'm pushing against a deadline, so  
any tips / pointers / suggestions are also appreciated.


Ted Goodridge