[1011] in RedHat Linux List
Re: 4.0 Fixes
daemon@ATHENA.MIT.EDU (Daniel Senie)
Fri Oct 25 19:03:55 1996
Date: Fri, 25 Oct 1996 18:53:29 -0400 (EDT)
From: Daniel Senie <dts@senie.com>
To: redhat-list@redhat.com
cc: Donnie Barnes <djb@redhat.com>, Erik Troan <ewt@redhat.com>,
"Milam, Charles R. 1LT CAP" <cmilam@cap.af.mil>
In-Reply-To: <Pine.LNX.3.94.961025172006.5429G-100000@mitchell.cap.af.mil>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Fri, 25 Oct 1996, Milam, Charles R. 1LT CAP wrote:
>
> On Wed, 23 Oct 1996, Donnie Barnes wrote:
>
> > >Ok, if I am going to have to use a floppy to boot, can I pass boot-time
> > >paramenters (mem="xxx", etc.) to a kernel compiled on a floppy via a "make
> > >zdisk?"
> >
> > No. 'make zdisk' doesn't use lilo. you'd need to put a filesystem
> > on the floppy, then a kernel and lilo.conf for it. Then run
> > something like 'lilo -r /mnt/floppy' to lilo it.
When building a floppy for booting in previous versions of Linux (I
suspect this still holds) you take the zImage and copy it to /dev/fd0 and
DON'T create a filesystem on the floppy. It's treated as a character
device, containing just the kernel.
Prior to installing 4.0, I did all my kernel builds, then copied to a
floppy, booted, and tested, THEN copied the kernel for hard disk booting.
I don't know if I can get away with this tactic with 4.0 given all the
modules stuff (not that I've gotten that working yet anyway).
>
> Hmm. Ok, I've got a filesystem on the floppy, and a kernel on it, like
> so:
>
> [root@wilbur floppy]# ls -alg /mnt/floppy
> total 456
> drwxr-xr-x 3 root root 1024 Oct 25 13:23 .
> drwxr-xr-x 3 root root 1024 Oct 24 06:31 ..
> -rw-r--r-- 1 root root 165 Oct 25 13:20 lilo.conf
> drwxr-xr-x 2 root root 12288 Oct 25 12:37 lost+found
> -rw-r--r-- 1 root root 448114 Oct 25 12:39 vmlinuz
> [root@wilbur floppy]#
>
> Here's the lilo.conf:
>
> boot=/dev/fd0
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> image=vmlinuz
> label=linux
> root=/dev/sda1
> initrd=/boot/initrd
> read-only
> append = "mem=65536k"
>
> Now, here's the wierd part:
>
> [root@wilbur floppy]# /sbin/lilo -r /mnt/floppy -C ./lilo.conf
> open /dev/fd0: No such file or directory
> [root@wilbur floppy]#
>
> Ideas?
>
> ---------------------------------------------------------------------
> 1LT Chuck Milam, CAP (334) 953-4271
> Programmer/Analyst, Information Systems DSN: 493-4271
> USAF Auxiliary-CAP National Headquarters cmilam@cap.af.mil
>
>
>
>
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
> ________________________________________________________________________
> http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
> http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
> ------------------------------------------------------------------------
> To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null
>
>
---------------------------------------------------------------
Daniel Senie Internet: dan@senie.com,
Daniel Senie Consulting n1jeb@senie.com
http://www.senie.com Packet Radio: N1JEB@KA1SRD.MA
If we suffer tamely a lawless attack upon our liberty, we encourage it,
and involve others in our doom. -- Samuel Adams
--
PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null