System Load up configuration

  • BlueHat
  • Banned
  • Banned
  • User avatar
  • Posts: 589
  • Loc: Cyprus

Post 3+ Months Ago

I havd installed linux on my second hard drive, and it seemed that i have made some mistakes with my configuration.
when the system start up, it asks me which operation system should be loaded, how can i change this configuration from linux redhat9, to change value of dos to 0 and redhat9 to 1. :idea:
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

If you're booting up with LILO, just boot into Linux, and edit the file /etc/lilo.conf

MAKE SURE YOU KOW WHAT YOU'RE DOING BEFORE YOU EDIT IT! :)

Don't mean to shout, just emphasize it a lil, heh.

Once you've edited the lilo config file, just type (as root) "lilo" at the console prompt (without the quotes of course), and hit enter.

It'll save out the new boot info, and when you CTRL+ALT+Delete, the box should reboot, giving you the menu options you want :)
  • BlueHat
  • Banned
  • Banned
  • User avatar
  • Posts: 589
  • Loc: Cyprus

Post 3+ Months Ago

Thanks for replaying, i found the file /etc/lilo.conf.anaconda and i assumed that was the file, but msg comes up by saying permission denied.
I dont know why???

Amer
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

You need to be logged in as root to edit it.
  • BlueHat
  • Banned
  • Banned
  • User avatar
  • Posts: 589
  • Loc: Cyprus

Post 3+ Months Ago

I am on the root account??
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

how are you editing it?

or are you just going ./etc/lilo.conf.anaconda?

Also make sure you run 'lilo' after you edit the file.
  • BlueHat
  • Banned
  • Banned
  • User avatar
  • Posts: 589
  • Loc: Cyprus

Post 3+ Months Ago

what i do, i open my terminal and i type the following /etc/lilo.conf.anaconda and then i get the msg pernission denied, i am on the root :evil: account??
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

Open your terminal, su root, then type "pico /etc/lilo.conf.anaconda" that will open up a text editor for said file. Are you positive there is no lilo.conf file?

After you make the changes save it (ctrl+o) and exit (ctrl+x) then type "lilo" and that will verify the configuration and load it into the system.
  • BlueHat
  • Banned
  • Banned
  • User avatar
  • Posts: 589
  • Loc: Cyprus

Post 3+ Months Ago

as i was guided throug your instruction, when i typed pico /etc/lilo.conf.anaconda i got nothing, but when i typed /etc/lilo.conf.anaconda i got persmission denied, i tried to find the file lilo.conf from the search file and it was not founded, but i was able to find lilo.conf.anaconda and when i tryied to open it from the seach window it opened, how come it opened from there and i couldnt open it from my terminal?
when i oped it this what i got:

prompt
timeout=50
default=DOS
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="root=LABEL=/"

other=/dev/hda1
opional
label=DOS

i wasnt sure what to do from here, can you tell me where i can change the value to be the "default DOS or Linux"
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

ok. First off in linux you can't just do a "/etc/lilo.conf.anaconda" and hope a window opens up with the file in it. It just doesn't work that way. You have to use a program to open it up, that is why I suggested using pico. Where are you typing all of this? in a konsole window? or just a command line?

I looked back at your original post and am not sure what you want to do. Do you want it to default to dos? or default to linux?


Please tell me EXACTLY what you are doing when you try to open up lilo.conf, and EXACTLY you want to do at boot up.
  • BlueHat
  • Banned
  • Banned
  • User avatar
  • Posts: 589
  • Loc: Cyprus

Post 3+ Months Ago

when the system starts up the swap loads up asking me what OS shall loads up, on my Computer i have DOS on default, and i want to change it to redhat(9).

Thanks.

by the way u mentioned something about pico, i tried to search for it, what it does exactly, is not file editor??
  • BlueHat
  • Banned
  • Banned
  • User avatar
  • Posts: 589
  • Loc: Cyprus

Post 3+ Months Ago

i meant by saying is it a file editor, i used emacs and i was able to load the file, lilo.conf.anaconda, but i didnt know how to change it??

and i thought that u could open the file from the terminal??what ever
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

you CAN edit it in terminal, just SU root, type this:

"emacs /etc/lilo.conf.anaconda"

I'd highly recommend the following manpage:
"man lilo"

Read ALL of that first.
  • BlueHat
  • Banned
  • Banned
  • User avatar
  • Posts: 589
  • Loc: Cyprus

Post 3+ Months Ago

thanks for the hint,
  • BlueHat
  • Banned
  • Banned
  • User avatar
  • Posts: 589
  • Loc: Cyprus

Post 3+ Months Ago

b_heyer

my default for booting up is DOS, and i want to change it Linux, and on my laptop i have the opposite problem, my default is linux and i want to change it to DOS.



thanks
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

change this line in your lilo.conf to the proper label field: default=DOS
  • shaul
  • Born
  • Born
  • shaul
  • Posts: 1

Post 3+ Months Ago

My system is linux AS3.0, I had edited the file lilo.conf.anaconda to change the default
linux to dos.but I can't run lilo in the prompt window .
it saying:bash:lilo:command not found.

Post Information

  • Total Posts in this topic: 17 posts
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.