Re: Boot Loader
From: Arthur Hagen (art_at_broomstick.com)
Date: 05/24/05
- Next message: Rajko M.: "Re: YaST won't work"
- Previous message: Noah Roberts: "Re: C.O.L.A a Detriment to Linux and the Biggest JOKE on USENET!"
- In reply to: houghi: "Re: Boot Loader"
- Next in thread: houghi: "Re: Boot Loader"
- Reply: houghi: "Re: Boot Loader"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 23 May 2005 22:47:01 -0400
houghi <houghi@houghi.org.invalid> wrote:
>
> During instalation you can change that. After that you can do it in
> Yast. Go to the Boot Loader Setup and doubleclick on Boot Loader
> Location.
>
> I however think it strange that you think choosing is that hard. If
> you want to boot into Windows automagically, just change the order of
> booting. You can even change the time so that if your SO boots it will
> only take 2 seconds more.
>
> You the have 2 seconds if you want SUSE to start.
2 seconds might not be enough. There's wireless keyboards that take 5
seconds or more to establish a connection when you press the first key.
> That brings me to another question. What must I put in
> /boot/grub/menu.lst so I can boot from CD or DVD? This when I want to
> test a Live CD or DVD. If I could do it with stuff in mbr, I do not
> need to change my BIOS every time I do this (and change it back)
The short (and incorrect) answer is that you can't. It would defeat the
purpose of turning off CD boot in the BIOS and protect the BIOS with a
password.
A slightly longer (and incomplete) answer: grub expects to find a stage2 on
the boot media, or a chainloadable boot loader. You can put those on a
bootable CD/DVD and boot it through the grub menu, if you have a new enough
version of grub (or patch it with the iso9660 patch yourself). However,
that's not how most CDs boot -- there is no bootloader as a file, but an
embedded floppy image that the BIOS fetches.
What you probably tried is something like:
title Boot from CD
chainloader (hd1)+1 # substitute with your cd/dvd drive
... which will work if the CD/DVD contains a normal boot block, and doesn't
rely on special BIOS support for booting an embedded floppy image. It'll
work only if it's a very speshul CD that pretends it's a HD, which is almost
certainly not the case.
That said, there is a way, using Smart Boot Manager (available from
http://btmgr.webframe.org/) and MEMDISK (available from
http://syslinux.zytor.com/memdisk.php). Install memdisk and cdboot.raw in
/boot, and add the following:
title Boot from CD
kernel /boot/memdisk floppy
initrd /boot/cdboot.raw
This should work for CDs that use a 1.44 or 2.88 MB emulated floppy image
for booting, which are most of them. And yes, it bypasses BIOS password
protection which normally prevents you from booting from a CD. And yes,
I'll probably go to heck for telling you. :-)
Regards,
-- *Art
- Next message: Rajko M.: "Re: YaST won't work"
- Previous message: Noah Roberts: "Re: C.O.L.A a Detriment to Linux and the Biggest JOKE on USENET!"
- In reply to: houghi: "Re: Boot Loader"
- Next in thread: houghi: "Re: Boot Loader"
- Reply: houghi: "Re: Boot Loader"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|