Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2007 18:57:18 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Stephen.Clark@seclark.us
Cc:        freebsd-stable@freebsd.org
Subject:   Re: btx crashes when booting 6.1 from usb cdrom
Message-ID:  <462CE56E.5090603@quip.cz>
In-Reply-To: <46155401.9010903@seclark.us>
References:  <4614F7C1.3010704@seclark.us>	<20070405142809.GE308@deviant.kiev.zoral.com.ua> <46155401.9010903@seclark.us>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Clark wrote:

[...]
>> If you could build custom boot images, try
>> http://people.freebsd.org/~kib/realbtx
>> realbtx.2.patch is the patch, and loader is the /boot/loader built 
>> with that
>> patch applied. If you could rearrange CD image with that loader put into
>> /boot, then try to load from it and report results.
>>
>> CAUTION: Do not install boot2 or loader on your harddrive, code had very
>> little exposure and may cause you machine to become unbootable.
>>
>>  
>>
> Hi Konstantin,
> 
> Thanks this worked. I have another question though. I mounted the distro 
> 1 cd and
> cd to /cdrom and did
> tar cSf - . |(cd /usr/myboot;tar xSf -)
> so I could move in the new loader program. The problem is I ended up 
> with an
> iso file system after I did
> mkisofs -R -no-emul-boot -b boot/cdboot -o /tmp/bootable.iso /usr/myboot
> that was 991mb which was to big to put on a CD. Where did I go wrong?
> 
> Since this was only a test I rm'ed packages, rescue and release 
> directories, but how did it all
> fit on the CD originally?

Many files are hardlinked on the original media (for example all in 
/rescue is hardlink to one binary), but tar makes a copy of each file.

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462CE56E.5090603>