LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-27-2005, 05:20 PM   #1
LoyalSoldier
LQ Newbie
 
Registered: Feb 2005
Posts: 14

Rep: Reputation: 0
how to edit boot sequence in MBR


By default MDK loads after 10 seconds. My wife isn't as computer savy as I am and so to make it easier for her how do I edit that sequence to make winXP be the default OS to load?
 
Old 02-27-2005, 05:25 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
depends what bootloader you're using. if it's lilo, edit /etc/lilo.conf and then, as root, run "lilo" to udate the MBR> if it's grub, just edit /boot/grub/grub.conf (or menu.lst) to relfect what you want to change.
 
Old 02-27-2005, 05:40 PM   #3
LoyalSoldier
LQ Newbie
 
Registered: Feb 2005
Posts: 14

Original Poster
Rep: Reputation: 0
How do I log on as root? I only get 2 options to log on with - me and my wife.

Oh, somehow it started loading in verbose mode. How do I exit that and get back to it logging in with the default KDE 3.3 desktop?

Thank you.
 
Old 02-28-2005, 12:16 AM   #4
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
with KDE 3.3 you can't log in as root, by default. I wouldn't recommend doing it either.


If you are using Grub (which I hope you are,... I like it more), open a console and type

Then type:

su

hit enter

then type your root password

hit enter

Code:
chris@3[~]$ su
Password:
root@3[chris]#
You can then run any prgram you want from the console. Fire up your favorite editor and edit either the /boot/grub/menu.lst or whatever Lilo uses (I think there might be a lilo.conf, if i'm not mistaken)

it will have something that says default=X, where X is a number. You can change the number to whatever number in the list your windows partition, starting with 0. So say you had three entires, with windows as your last it would be Default=2. If you want to use the bootsplash, instead of verbose, you're gonna have to change the bootspalsh kernel option (after it lists the kernel image and whatnot) to whatever your bootsplash path is.

as an example, here is mine.....

Code:
default 1
timeout 15
splashimage /boot/grub/mepis.xpm.gz

title MEPIS at hda1, kernel 2.6.10
	root (hd0,0)
	kernel /boot/vmlinuz-2.6.10 root=/dev/hda1 nomce psmouse.proto=imps quiet splash=verbose vga=791 acpi=on
	initrd /boot/initrd.mepis

title MEPIS at hda1, kernel 2.6.7
	root (hd0,0)
	kernel /boot/vmlinuz-2.6.7 root=/dev/hda1 nomce psmouse.proto=imps quiet splash=verbose vga=791 acpi=on
	initrd /boot/initrd.mepis

title Ubuntu
	root (hd0,3)
	kernel /boot/vmlinuz-2.6.8.1-3-386 root=/dev/hda4 splash=verbose vga=791 acpi=on
	initrd /boot/initrd.img-2.6.8.1-3-386
As you can see, I have my bootsplash set to verbose, but if i wanted to change it back, I would put silent (I think that works...)
 
Old 02-28-2005, 02:49 AM   #5
LoyalSoldier
LQ Newbie
 
Registered: Feb 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks guys. I was able to figure this out on my own (both manually editing lilo.conf and using graphical interface to redo the bootloader) while waiting for replys.

Thanks.
 
Old 02-28-2005, 09:23 AM   #6
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
isn't that the best, when you figure things out on your own... I love that feeling!

what gui did you use to edit the boot menu? the drak tool?
 
Old 02-28-2005, 10:54 AM   #7
LoyalSoldier
LQ Newbie
 
Registered: Feb 2005
Posts: 14

Original Poster
Rep: Reputation: 0
I don't remember the name for it, but I found it by going to the taskbar start button (dont know what the counterpart of Microsoft's Start button is called for MDK), then System\Configure\Configure your system, and then the Boot item on the left panel.
 
Old 02-28-2005, 11:33 AM   #8
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
ahh, yeah, its in Mandrake's config utilities... thought it might have been something else, but i forgot about that program.. I've gotten used to doing things through the text file config file (seems to be easer after you get used to it).

Also, it's called the K-Menu if you use KDE...
 
Old 02-28-2005, 01:52 PM   #9
LoyalSoldier
LQ Newbie
 
Registered: Feb 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Oh yea...K-Menu. I remember seeing that somewhere now.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot sequence wrangler Linux - Newbie 3 03-07-2005 11:51 AM
Boot sequence fiomba Mandriva 2 12-15-2004 08:04 PM
boot sequence kermit Linux - Newbie 3 12-10-2004 02:41 AM
How can I change my boot sequence chinaundead Mandriva 4 03-11-2004 04:57 AM
boot-sequence boku Linux - General 1 08-04-2002 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration