On Thursday 29 January 2004 11:24, Rogelio Carrillo wrote:

> Anyone knows how to create a bootloader from a CD. I had installed a Linux
> 9.0 SuSe then I choice not to install a bootloader at all, but the problem
> is that it was not asking to create a bootloader in the end of the
> installation. I thought that it will ask to create a bootloader at the end
> but sad to say it was not. Since I made to be dual boot with Windows 2003
> Server.

i don't use SuSe, if the following doesn't work for SuSe (because you can't
go into a console, using the CD as a rescue disk) then you can use some
other liveCD (knoppix, tomsrtbt, etc).

boot into a liveCD or use SuSe's procedure for using the SuSe install
CD as a rescue disk.

go to a console.

mount the harddrive root partition as /mnt (or something).
chroot /mnt
mount -a # will mount all the partitions under your new root,
               # or, at any rate, the partitions you have in /etc/fstab

create a /etc/lilo.conf file, e.g., a minimal lilo.conf might be:

--- start lilo.conf --
boot=/dev/hda # or whatever your boot device is.
map=/boot/map
install=menu
vga=normal
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz   # or whatever kernel you use
    label="linux"
    root=/dev/hda1       # or wherever the root partition really is.
    append=" devfs=mount "  # whatever you want, i use devfs.
    read-only

other=/dev/hda2        # or wherever windows is
    label="windows"
    table=/dev/hda

--- end lilo.conf---

run lilo.  it will overwrite your mbr with the new lilo config.

** disclaimer ** 
it's been a while since i've done this.  and i wrote the lilo.conf
by looking at my own lilo.conf, but editing.  might not work exactly
right for you.  but it should.  SuSe might also have a graphical
or text-graphical way to configure this (linuxconf, for instance, 
or on mandrake, diskdrake).  if you can, you should use those.
they're easier.

i don't use grub, so i don't know how to configure that, but
man grub should get you fixed up, if you prefer grub.  long ago,
the main reason to use grub was because lilo had the 
(can't boot if beyond 1024th cylinder or was it sector) limitation.
that limitation went away long ago though (at any rate, i haven't
run across it lately) so i've never had to use grub.  what other
reasons might there be to switch to grub from lilo?

tiger

-- 
Gerald Timothy Quimpo  gquimpo*hotmail.com tiger*sni*ph
http://bopolissimus.sni.ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"

    The liar at any rate recognizes that recreation, not instruction, is
     the aim of conversation, and is a far more civilised being than the
     blockhead who loudly expresses his disbelief in a story which is
     told simply for the amusement of the company.
                                Oscar Wilde
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to