Re: writing to a partition
- From: Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 04 Oct 2007 10:38:41 -0400
Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx> writes:
Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx> writes:
Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:
http://lilo.go.dyndns.org/pub/linux/lilo/
Got it. Thanks. More when I imagine I know more...
I've untarred lilo-22.8.src.tar.gz and have been looking it over. What I
would like to do first is experiment naively with the assembler files.
Some of them actually do things while others just gather information.
For example, the file biosdata.S just collects information about the
BIOS. I'm not sure but I think the various labels in the Makefile ending
in .s, such as disk.s are intended to convert the corresponding .S files
(plus stuff they need) into the .s files. For example, if I execute
make disk.s
it produces disk.s, but uses 3 .S files and 2 .h files. How would I
start with disk.S and produce an executable that I can run from my
Gnome terminal window? Ditto for the other .S files.
When I simply imitate what the Makefile says, I execute:
as86 -w -l disk.lis -o disk.o disk.s
and get disk.o and then
ld86 -s -o disk.img disk.o
and get disk.img. I tried
gcc -o disk disk.o
but gcc can't make sense of disk.o. If I execute
gcc -o disk disk.s
I get lots of error messages.
So, what is the right way to do this?
Use the makefile to do all your compiles.
Why do you think you'll be able to run
the lilo boot process in a terminal window?
I don't think you will and I don't think it's
going to work on a VT either.
It expects to be run from boot.
.
- Follow-Ups:
- Re: writing to a partition
- From: Allan Adler
- Re: writing to a partition
- References:
- Re: writing to a partition
- From: Dan Espen
- Re: writing to a partition
- From: Allan Adler
- Re: writing to a partition
- From: Dan Espen
- Re: writing to a partition
- From: Allan Adler
- Re: writing to a partition
- From: Allan Adler
- Re: writing to a partition
- Prev by Date: Re: Install different distros without floppy, cdrom or dvd
- Next by Date: Re: What do you put in Username field when logging in as Root
- Previous by thread: Re: writing to a partition
- Next by thread: Re: writing to a partition
- Index(es):
Relevant Pages
|