Removing /dev/hda, Linux on /dev/hdb, how?

Removing /dev/hda, Linux on /dev/hdb, how?

Post by Chris Koresk » Fri, 29 Jan 1999 04:00:00



I've got a dual-OS system running with the OS/2 Boot Manager on /dev/hda and
Linux installed on /dev/hdb.  Right now everything's fine: I can pick my OS
with the Boot Manager, and if I pick Linux it loads LILO off the Linux boot
partition.

But now I've got enough hardware to change from one dual-boot machine to two
separate machines.  I know I can just move /dev/hda to the new case and it'll
run Warp just fine.  But what will happen to Linux?

I assume that the current /dev/hdb will become the new /dev/hda in the original
box.  So I'll have to update the /etc/fstab file.  I assume that LILO will have
to get installed into this drive's Master Boot Record - is that possible without
repartitioning?  What other changes will be needed?

If worst comes to worst, I could buy the cheapest possible IDE drive, install
the Boot Manager on it, and make it take the place of the current /dev/hda.  Is
that the way to go?

        Chris

--
Chris Koresko     ---   Division of Geological and Planetary Sciences
Caltech 150-21, Pasadena, California 91125
http://gulliver.gps.caltech.edu

 
 
 

Removing /dev/hda, Linux on /dev/hdb, how?

Post by Jürgen Exne » Sat, 30 Jan 1999 04:00:00



Quote:>I've got a dual-OS system running with the OS/2 Boot Manager on /dev/hda
and
>Linux installed on /dev/hdb.  Right now everything's fine: I can pick my OS
>with the Boot Manager, and if I pick Linux it loads LILO off the Linux boot
>partition.

>But now I've got enough hardware to change from one dual-boot machine to
two
>separate machines.  I know I can just move /dev/hda to the new case and
it'll
>run Warp just fine.  But what will happen to Linux?

>I assume that the current /dev/hdb will become the new /dev/hda in the
original
>box.  So I'll have to update the /etc/fstab file.  I assume that LILO will
have
>to get installed into this drive's Master Boot Record - is that possible
without
>repartitioning?  What other changes will be needed?

>If worst comes to worst, I could buy the cheapest possible IDE drive,
install
>the Boot Manager on it, and make it take the place of the current /dev/hda.
Is
>that the way to go?

Actually this is quite trivial to solve:
- Create a boot floppy (and make sure it works!!!),
- then remove the unwanted drive
- boot from the boot floppy
- modify /etc/lilo.conf to reflect the change
- and then rerun /sbin/lilo
and you are all set.

jue
--
Jrgen Exner; microsoft.com, UID: jurgenex
Sorry for this anti-spam inconvenience

 
 
 

1. LILO that does linux at /dev/hda and BEos at /dev/hdb

I want to get lilo booting a install of be for intel version 4 that I just
did at /dev/hdb1 (do not know be's descriptor, yet...).  I have suse 5.3 at
/dev/hda2, with lilo in the mbr.  If anyone has a sample lilo.conf that they
use, could you please send me an email with it or post it here?  Im using
boot diskettes now to boot be.  Its not bad but booting from lilo would be
much nicer.

--
Michael Perry

-------------------

2. Anyone here looking for a change?

3. Multi boot: Linux [/dev/hda] and NT [/dev/hdb]

4. Midi Loopback

5. How to move existing linux install from /dev/hda --> /dev/hdb?

6. Logitech TrackMan Marble - Linux does not recognise button 2 and 3

7. cp dev/hda dev/hdb

8. Setting up the document root with Apache`

9. Move my disk from /dev/hda to /dev/hdb

10. Moving Linux from /dev/hdc to /dev/hdb - possible?

11. fsck -A -V -a only checks /dev/hdb* (but not hda*, hdc*)

12. What is the difference between /dev/sg0, /dev/scd0 /dev/hdd and /dev/cdrom ?

13. Install 2nd ATA/100 drive at /dev/hdb or /dev/hdd