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.
I have recently set up Mandrake Linux 9.1 as a dual boot with Windows XP Home, and all is well, except I cant seem to set Windows as the default, so when I boot my PC up, it loads into Linux by default. I dont want this.
For some reason, I couldnt find Linux mentioned in the Windows boot.ini file, so I had a look in Linux and found the Control Center --> System --> Boot Manager section.
I saw Linux was default, so I set windows to default, and clicked Apply. I got an error message saying the Configuration was NOT ok. I thought this was Linux trying to make itself the default, so I ignored it, but Linux remained the default when I booted up. Also, I see to have linux, linux-enterpris, failsafe, windows and floppy listed in the Operating Systems windows, which is a bit weird and confusing.
Anyway, how do I make window the default?
Here is my current configuration file (which is shown in the Expert tab):
Configuration NOT ok. LILO said:
LILO version 22.4.1 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2002 John Coffman
Released 27-Jan-2003 and compiled at 11:11:26 on Feb 5 2003.
Reading boot sector from /dev/hda
Using GRAPHIC secondary loader
Calling map_insert_data
Mapping message file /boot/message -> message-graphic
Calling map_insert_file
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added linux
Boot image: /boot/vmlinuz-enterprise -> vmlinuz-2.4.21-0.13mdkenterprise
Mapping RAM disk /boot/initrd-enterprise.img -> initrd-2.4.21-0.13mdkenterprise.img
Added linux-enterpris
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added failsafe
Boot other: /dev/hda1, on /dev/hda, loader CHAIN
Added windows *
Boot image: /dev/hda1 -> ide/host0/bus0/target0/lun0/part1
Fatal: Kernel doesn't support initial RAM disks
Has anyone got any ideas?
Also, since I'm here, another weird thing I've noticed is that I can access my Windows files from a Linux menu (from the mnt --> windows menu), and open images, etc, but I cant access Linux files from Windows. In fact, Windows has no mention of Linux anywhere.
They are on 2 separate partitions, so it is a bit weird, but its not a major problem like my default booting thing.
I removed the duplicate entry, but still got both the error messages that I quoted in my first post. I didnt do that console thing, because I didnt think there was much point since I got errors, and when I rebooted, linux was still the default.
Lilo wont be updated until you run lilo, or better lilo -v -v. Just change the default line in /etc/lilo.conf, save the file, and run that command.
Or use the nice Mandrake editor.
Yeah, I've got the PowerPack edition. I keep getting the Configuration is NOT ok error whenever I try to click Apply to any changes I make.
It doesnt seem to make much difference, as Linux and Windows both load correctly, but I would like to make Windows the default.
I am also a little confused as to what failsafe and Linux Enterpris are? I had something called Floppy on the list as well, but deleted it, which I'm guessing was the wrong thing to do now!
I'd rather the raw file, instead of KDE's possibly munged output. Simply start kwrite or your fav text editor and open /etc/lilo.conf. You may need to use the KDE launcher/Run... entry to start the app as root to access that file, depending on your security settings.
Failsafe is like windows safe mode, only this is actually useful and doesnt break other settings. Floppy was to boot off a floppy drive containing a boot disk. Enterprise is probably a hardened server variation of the kernel to deal with higher load and attacks in the business environment.
I think this may be KDE's editor's fault, so running /sbin/lilo -v -v will report specifics about any problems when trying to update lilo. It may be the quickest way to solve the problem.
Editing lilo.conf by hand isnt hard, so we can skip kde's editor and just use a text editor.
Edit: scratch that, I think the symlinks for vmlinuz and initrd.img are squiffy, maybe because of multiple kernel source installs or repeated kernel install-uninstall?
I found the etc/lilo.conf file but couldnt open it in anything - KWord wouldnt let me, neither would KJots, and attempting to save it to floppy disk to open in Notepad in Windows didnt work as it said "Cannot read from /etc/lilo.conf".
That RAM error is strange - maybe its because I have 1024Mb of RAM - I know Windows has initial problems working with so much.
Anyway, I am having to post this in Windows, close down, go into Linux, etc, etc, so sorry for a long time between posts. Shall I run that console command and see what happens, or has anyone got any other ideas?
Could someone do it on their own PC and copy and paste me the contents of lilo.conf, or wouldnt that work?
Well, I did install and then reinstalled over it (well, I thought I did), because the first time I did it, it didnt work at all.
The first time I installed it, i deleted everything in the list except windows and linux, and renamed linux to mandrakelinux, and window to windowsxp.
Then, on bootup, when I selected mandrakelinux, it said "Loading mandrakelinux....." but then didnt do anything, ever. I had to keep restarting the PC. Windows loaded fine though.
Maybe I reinstalled wrong - I do know I got confused at the partition questions it asked me, and just kept clicking Next and accepting their default values - maybe I agreed to a wrong value.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.