LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   making windows primary in grub loader (https://www.linuxquestions.org/questions/linux-desktop-74/making-windows-primary-in-grub-loader-478945/)

olsonsam 08-30-2006 08:15 PM

making windows primary in grub loader
 
I want to make windows the primary in my grub loader. I'm still new to linux so I'm not sure where to change what. I got some kind of command line from another source but don't know where to input it. What I've got is ( edit/boot/grub/menu.lst ) I'm wondering if this is the right code to use and where do I input it. I don't know if grubs differ from distro to distro, but mine came with simplymepis. Any and all dumbed down help is greatly appreciated.

mat087 08-30-2006 08:25 PM

You can change the "default" value in your /boot/grub/menu.lst. Note that 0 is the first item and that EACH label in the menu count for one (even if it's only a separator).


Mathieu

olsonsam 08-31-2006 12:04 AM

where is /boot/grub/menu.lst i.e. where do I access that. I've been windows exclusive for about 12 years now. Linux is a complete mystery to me, so I'd really appreciate it if you could REALLY dumb all this down.

shorun 08-31-2006 01:07 AM

Quote:

Originally Posted by olsonsam
where is /boot/grub/menu.lst i.e. where do I access that. I've been windows exclusive for about 12 years now. Linux is a complete mystery to me, so I'd really appreciate it if you could REALLY dumb all this down.

well, the location is /boot/grub/menu.lst. depending on what distro you use you can sometimes change this with the configuration screen.
eg: if you use mandrake (now mandriva) it's "drakconf" (open a terminal and type drakconf)
in suse it's YaST2 (mind the capital letters)

otherwise, if you want to manually edit the file. in X use kwrite, in console use vi.

example:

timeout 5
color black/cyan yellow/cyan
shade 1
viewport 3 2 77 22
splashimage (hd0,0)/boot/grub/mdv-grub_splash.xpm.gz
default 0

title linux
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 resume=/dev/hda5 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title linux-nonfb
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 resume=/dev/hda5
initrd (hd0,0)/boot/initrd.img

title failsafe
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 failsafe resume=/dev/hda5
initrd (hd0,0)/boot/initrd.img

in this case the first entry (title linux) is the default.
if you want more help i suggest you tell us your linux version, there could verry well be a configuration wizard mutch like the "windows style"

olsonsam 08-31-2006 10:29 AM

I'm running simplymepis if that helps at all

shorun 09-03-2006 10:37 AM

this won't really help you. but if your not so familiar in linux. i suggest you start with a more known distro. sutch as mandriva or suse.

i'm sure you can get a lot better support with them, as more people use(d) them. they allso have great wizards where you can change options like this in a verry rappid way. and error-safe. so you can take the time for things you find less urgent. while in need. there is hardly any need to spend time on the net searching for it (or waiting on linuxquestions for a reply).


All times are GMT -5. The time now is 08:59 PM.