Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating Red Hat 6.x boot
Message
Information générale
Forum:
Linux
Catégorie:
Distribution (called 'distros') specific issues
Divers
Thread ID:
00387197
Message ID:
00389047
Vues:
18
I edited that file with the gui text editor in KDE and each time I reboot, the file has reverted back to its orginal state. Ack.

When I am making changes to the system, should I be logging in as "root"?

>Yes! It's very easy. Just as with most Linux stuff, there is a configuration file in /etc that's just text.
>
>lilo's config file is: /etc/lilo.conf
>
>THere, you control what gets booted by default (even what can be booted), what string you see displayed
>as the OS name to boot, and the default action. IN particular, how much delay to allow before it defaults
>to booting the default OS if you don't hit the space bar or tab to get the list of things to boot.
>
>On one machine that I'm multi-booting on, my lilo.conf says:
>
>/etc/lilo.conf:
>
>boot=/dev/hda
>map=/boot/map
>install=/boot/boot.b
>prompt
>timeout=50
>default=linux
>
>image=/boot/vmlinuz-2.2.14-5.0
> label=linux
> read-only
> root=/dev/hda7
>
>other=/dev/hda1
> label=win
>
>The command default=linux tells it to default linux by default, but I could just as easily say:
>default=win
>
>Here, the first "stanza" (as sections in lilo.conf are called) refers to linux, my second stanza is called: "win"
>which is Win95.
>
>You can switch the order of things in lilo.conf so that win (or whatever you want to call it) appears first
>and linux second. You can also change the label, which is what appears on the screen if you hit
>TAB or SPACE BAR when you see the LILO: prompt, since I have the prompt command and then I have a
>timeout command (timeout - 50 seconds) which specifies how long I have to make a choice before it boots the
>specified default OS.
>
>After editing lilo.conf, you must give the /bin/lilo -v command to update the lilo boot info to the location that
>you specified. You can change where that location is by what info you have in the lilo.conf file:
>
>To start booting from MBR, make boot=/dev/hda
>
>If you're not sure, just ask.
>
>-Jerry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform