🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.mandrake
Article #528

why can't one boot from /dev/hdb?

#528
From: Dan Jacobson
Date: Mon, 04 Dec 2000 22:33
87 lines
4224 bytes
Why can't one boot from /dev/hdb?  [grub, or lilo]
My bios  (01/22/98 Award Modular BIOS v4.51PG SiS-5598-<SP97_V>C-00)
gives my choices of boot drives "A: C: D: E: F:, cdrom, zip" etc. (meaning fd0,
hda, hdb...)
(note that these are just bios simple names, not actual windows drives.)
I have windows on hda, and indeed when I put a second
windows drive on hdb, and tell bios to boot from it,
it works, and windows sees it as the primary ("C:") drive and what was on hda
now
is the "D:" drive.   I remember in the past cautiously unplugging hda where
windows lives
before installing Mandrake on hdb.  When I plugged it back in again indeed I
could tell bios to
boot from hdb and it worked.  But the grub and lilo configurations files
produced by the Mandrake
installations scripts look the same whether I created them with hda plugged or
not.  Yes, I'm aware I must run /sbin/lilo each time, thanks.

Ok, here's what I'm trying to do: Win98 totally occupying hda, don't mess with
its original
MBR.  Linux (Mandrake 7.2)  totally occupying hdb.  I then want to tell bios to
boot from hdb,
and enter the grub or lilo choice menu.  I have been successful in installing
grub onto a floppy; /boot/grub/menu.lst reads:

timeout 5
i18n (hd1,0)/boot/grub/messages
keytable (hd1,0)/boot/us.klt
altconfigfile (hd1,0)/boot/grub/menu.once
default 0

title linux
kernel (hd1,0)/boot/vmlinuz root=/dev/hdb1  hdc=ide-scsi
initrd (hd1,0)/boot/initrd.img

title windows
root (hd0,0)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1

however I note to boot into windows from the floppy I must edit out map (0x81)
(0x80)
map (0x80) (0x81) in boot time grub interface.

For you lilo fans, this is:
boot=/dev/fd0
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/us.klt
prompt
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
 label=linux
 root=/dev/hdb1
 initrd=/boot/initrd.img
 append=" hdc=ide-scsi"
 read-only
other=/dev/hda1
 label=windows
 table=/dev/hda
 map-drive=0x80
    to=0x81
 map-drive=0x81
    to=0x80

Which again I have to remove the map-drive stuff to boot to windows from the
floppy.
This indicates that when the Mandrake 7.2 install script created my lilo.conf
and menu.lst,
it make some over-cautious assumptions on the intelligence of my bios regarding
drive mapping?

Anyways, I currently am booting to hda [windows] or hdb [linux] from the floppy.
I wish to be booting to hda [windows] or hdb [linux] from hdb.
Sure I've heard that if I install on /dev/hda all will be OK and if I'm
unhappy all I have to do is dos' fdisk /mbr to restore the Master Boot Record,
but I thought there must be a way to achieve my goal without touching anything
on hda.  Thanks for answers if any.
--
www.geocities.com/jidanni E-mail: restore ".com."  �n����
Tel:+886-4-5854780; starting in year 2001: +886-4-25854780
Technical Details
Message-ID: <90h683$11v$1@taliesin.netcom.net.uk>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!xfer13.netnews.com!netnews.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!diablo.netcom.net.uk!netcom.net.uk!pubnews.netcom.net.uk!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 109f73,7e259f2c0465a3f5,start
X-Google-Attributes: gid109f73,public
X-Google-Thread: f8a83,7e259f2c0465a3f5,start
X-Google-Attributes: gidf8a83,public
X-Google-Thread: f9b51,7e259f2c0465a3f5,start
X-Google-Attributes: gidf9b51,public
X-Google-ArrivalTime: 2000-12-04 14:35:50 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!xfer13.netnews.com!netnews.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!diablo.netcom.net.uk!netcom.net.uk!pubnews.netcom.net.uk!not-for-mail
From: "Dan Jacobson" <jidanni@kimo.FiXcomTHiS.tw>
Newsgroups: alt.os.linux.mandrake,comp.os.linux.setup,gnu.utils.help
Subject: why can't one boot from /dev/hdb?
Date: Tue, 5 Dec 2000 06:33:25 +0800
Organization: Taiwan is Taiwan is not China
Lines: 89
Sender: jidanni@hotmail.com
Message-ID: <90h683$11v$1@taliesin.netcom.net.uk>
NNTP-Posting-Host: as6po49.tc.ficnet.net.tw
X-Trace: taliesin.netcom.net.uk 975969349 1087 202.145.51.49 (4 Dec 2000 22:35:49 GMT)
X-Complaints-To: abuse@corp.netcom.net.uk
NNTP-Posting-Date: 4 Dec 2000 22:35:49 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400