Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello. im absolute newbie at linux. yetserdeay i just managed to install Linux (Debian) on my comp and got a little bit confused.
i have 4 partitions on my hard drive, hd1(system), hd2 for WinXP; and hd3 and hd4(swap) for linux. after the first reboot i got a window with a caption - LILO 22.5.7.2... , to choose a drive to boot from.
it looks something like this:
hda1(NT) <---thats where my winxp system is
hda2(NT)
LINUX
the default boot drive is actually hda2 (???). whell, what i managed to do from within linux is to change "hda1(NT)" name to "Windows" but i couldnt make it default boot drive.
i can choose to boot from hda1 manulally and my winxp works fine, but it windows doesnt recognise the other two partitions(ext3 file system). is that should be that way?
1. how can i change the default boot drive to hda1(Windows) and remove hda2 from that LILO list because it is not bootable???
2. is it possible to get rid of that LILO, and when starting winxp, there would be a list of operating systems that i could choose from(winXp or Linux) (like when hitting "F8 or whatever" key)?
If it still dont work, then set the writeable flag to the file.
chmod +w /etc/lilo.conf
Or use vim as editor, and save the file with :w!, where ! means override the read-only. (only works if you own the file, so you have to be root anyway)
Well. im an absolute lama i guess. i dont know how to save a file with vim. there are no such menu and i dont know how i could do this from terminal.
ok.
thats what i do:
i go to the terminal. becoming root (su, psw) then getting to etc/ (cd /etc)
then i write
chmod +w /etc/lilo.conf
then
vim lilo.conf
and then i try to rewrite some things with pressing two times "insert" key, because otherwise it wont let me to modify anything.
To save things in vim you have to use :write!. Depending on what desktop enviroment you are using, you can kwrite (kde) or gedit (gnome), and besides them, there are loads of none-command line text editors out there.
im using a terminal, because i know how to become root there (su). im using gedit, and when i open lilo.conf with non-command editor, i dont know how to become root without using the terminal to overwrite this read-only file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.