[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Switching between 2 file systems.
- From: Bob McClure Jr <robertmcclure earthlink net>
- To: redhat-install-list redhat com
- Subject: Re: Switching between 2 file systems.
- Date: Sun, 4 Mar 2001 08:43:27 -0600
When you copy a (formerly root) partition to another, don't forget to
edit the etc/fstab in the new partition to reflect how life will be
when the new partition becomes the root partition.
That is a technique I use when making a major-rev upgrade (as from 6.2
to 7.0). I copy the existing root partition to the new partition,
edit (say) /rh70/etc/fstab to reflect life as it will be, add a new
stanza to /etc/lilo.conf, and run lilo. Then I boot the new partition
to verify that it is workable, then reboot and upgrade the _new_
partition, leaving the old one fully functional in case the upgrade is
less than workable.
On Sun, Mar 04, 2001 at 12:20:27AM -0500, Fu-Dong Chiou wrote:
>
> Bob McClure Jr wrote:
> >
> > Umm, ok. Short checklist:
> > - Both partitions below the 1024 cylinder boundary?
> Seems so.
> > - You did run "lilo" with no complaints? To the master boot record?
> Seems so.
> > - How far does the boot of the disagreeable one get?
> I will check it later. Somewhere in the middle.
> >
> > You may need to post the relevant lilo.conf and the output of "fdisk
> > -l /dev/hda". May we assume you are running lilo from the running
> > RH6.0 partition (/dev/hda2) to dual-boot either of the two?
> >
>
> No. I installed RH6.2 on /dev/hda1, and then copied an entire partition of
> another HD onto /dev/hda2 (just like I did on the other laptop). So, I ran
> lilo from RH6.2. Theoretically, the situation is similar. THe only
> difference is, on my laptop, there is only one primary partition (hence,
> hda1, hda5, hda6, ...), but I have 4 primary partitions on this desktop.
> Not sure if this is causing the trouble. Thanks!
No, four primaries cannot be the problem.
> Chip
>
> bash-2.04# more /etc/lilo.conf
> boot = /dev/hda
> timeout = 30
> linear
> prompt
> default = cle
> vga = normal
> read-only
> map=/boot/map
> install=/boot/boot.b
> image = /boot/vmlinuz-2.2.17-4CLE
> label = cle
> root = /dev/hda1
> image = /chopin/boot/vmlinuz
> label = rh
> root = /dev/hda2
>
>
> Disk /dev/hda: 240 heads, 63 sectors, 1292 cylinders
> Units = cylinders of 15120 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 447 3379288+ 83 Linux
> /dev/hda2 * 448 894 3379320 83 Linux
> /dev/hda3 895 1276 2887920 83 Linux
> /dev/hda4 1277 1292 120960 82 Linux swap
>
> > You know, I just looked back at your previous problem and realized
> > that one of the partitions to be booted was a logical partition
> > (/dev/hda5). I thought you could not boot a logical partition. But
> > it works, huh? Guess I'm getting senile in my old age. Maybe that's
> > true only of Windoze? (I'm sure someone will set me straight.)
>
> Best wishes,
> Chip
Cheers,
--
Bob McClure, Jr. | In theory,
Bobcat Open Systems, Inc. | what works in theory will work in practice.
robertmcclure earthlink net | In practice, it doesn't.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]