Article View: aus.computers.linux
Article #57834Re: LILO and Syquest
From: Thorfinn
Date: Wed, 21 Aug 1996 00:00
Date: Wed, 21 Aug 1996 00:00
46 lines
2372 bytes
2372 bytes
In article <4vc02j$bd1@ausonics.ausonics.mpx.com.au>, Ken Lee wrote:
>I have 200 Meg and a 270 Meg Syquest drive (C: and D: in DOS terminology).
>I've copied the filesystems which live on the C: drive onto the Syquest.
>Also, I can boot-up on a floppy and mount the Syquest as the root filesystem.
>
>The question is, how can I put a MBR on the Syquest drive without having to
>swap the drives around. If I boot-up on floppy and mount the Syquest drive,
>LILO thinks the Syquest drive is /dev/hda (rather than /dev/hdb) and writes
>the MBR to the 200 Meg drive (huh?).
>
>Maybe I'm not using LILO correctly. The configuration file looks OK. Has
>anyone out there had any experience with this situation?
Mount the syquest drive on /mnt (or similar mountpoint).
Edit /mnt/etc/lilo.conf as if you're setting it up as the root filesystem.
set the environment variable "ROOT" to /mnt
Under sh, bash, etc: ROOT=/mnt
csh, tcsh, etc: setenv ROOT /mnt
Run /mnt/sbin/lilo
Voila, done. Basically, lilo has the ability to "chroot" itself
before doing anything else, which it does if you have the environment
variable "ROOT" set, or you use the -r flag.
Umm... However, I'm not sure if this is what you want to do.
The above stuff lets you set up a disk that you've got mounted
temporarily as some other device, so that you can boot off it
after you've changed it back to the root device.
Want to post a clearer description of exactly what you want to
achieve?
You want to be able to boot off the syquest, without removing anything
else from the machine? Why don't you set up the lilo.conf on the hard
disk (/dev/hda) to give you an option to boot off the syquest
(ie to boot off /dev/hdb from the lilo on /dev/hda)?
Later,
Thorf
--
-- <a href="http://www.zip.com.au/~thorfinn"> thorfinn@zip.com.au </a>
It is easier to write an incorrect program than understand a correct
one.
Technical Details
Message-ID:
<slrn51m5rl.1i3.thorfinn@aglet14.zip.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4vc02j$bd1@ausonics.ausonics.mpx.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,c3440974c03e01b3 X-Google-Attributes: gid102983,public From: thorfinn@zip.com.au (Thorfinn) Subject: Re: LILO and Syquest Date: 1996/08/21 Message-ID: <slrn51m5rl.1i3.thorfinn@aglet14.zip.com.au> X-Deja-AN: 175599533 references: <4vc02j$bd1@ausonics.ausonics.mpx.com.au> organization: None. reply-to: thorfinn@zip.com.au newsgroups: aus.computers.linux