Re: Lilo and mounted boot partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 26 Mar 2003, MW Mike Weiner (5028) wrote:

> Dear list readers - 
> 
> I have a question, one which I have never really done or thought of doing
> before, though I am sure there is some way to do it. Where I am at is as
> follows, I have a server with a "cloned" disk that I have mounted
> temporarily so that I can work on it and make some tweaks before throwing it
> into another machine as its primary drive. What I am trying to do, and not
> sure I can, is to fix the boot partition on the temp mounted drive. So I
> have 2 disks currently mounted, primary disk with the normal boot and root
> partitions, and a clone of that disk. I want to run lilo -v on the CLONE,
> but not disturb the primary disk and its boot sector. Is there any way to
> accomplish this and modify the CLONE boot sector with lilo?? I thought
> something along the lines of the following:

If the second disk is truly a cloned disk there is a simpler way.  
Assuming the cloned disk is mounted (for example) at /mnt/disk you could 
do a chroot /mnt/disk.  You can do your tweaks either before or after 
this if making the tweaks doesn't depend on having the original disk 
around.  Your lilo commands and such will operate on the new root.



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux