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:
00389199
Vues:
17
No, but you must switch to the root account, which is effectively the same thing as being in root.
Your running KDE. Use the Superuser Mode of KFM.
Left click on the 'K' in the lower right corner.
Left click on 'System'.
Left click on 'File Manager (Super user mode)'
You will be prompted for the root password. Enter it and press the enter key.
Now you are running KFM as root. This is indicated by the red borders on the left edit of the KFM menu bar.
Browse to the /etc subdirectory and scroll down to 'lilo.conf'
Right mouse click on lilo.conf. On the popup menu choose 'Text Editor'
Edit the file, the chose 'File -> save' to save your changes.
Close the text editor.
Close the KFM. The xterm that opened to ask for your root password will close automatically.

That's it!
JLK




>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
Nebraska Dept of Revenue
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform