Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #161973
| From | David Baron <d_baron@012.net.il> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Attempt to Move Root |
| Date | 2015-12-21 21:50 +0100 |
| Message-ID | <qIfz4-2SZ-3@gated-at.bofh.it> (permalink) |
| References | <qHK2e-8f2-13@gated-at.bofh.it> <qIaJ4-8gD-21@gated-at.bofh.it> <qIeMG-2kK-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Monday 21 December 2015 14:53:16 Stephen Powell wrote: > On Mon, 21 Dec 2015 10:36:48 -0500 (EST), David Baron wrote: > > On Monday 21 December 2015 10:25:15 Stephen Powell wrote: > >> Obviously, the LILO map file is on the IDE drive. Is your /boot > >> partition > >> on the IDE drive? If so, you cannot remove it. The /boot partition must > >> be a partition on a physical drive, but obviously it cannot be on the > >> drive > >> that you want to remove. > > > > The boot is not a separate partition but is a directory on the root so > > travels with it. Copy on both old and new directories. > > No, that won't work. If the root filesystem is an LVM2 logical volume, then > /boot *cannot* be part of the root filesystem. To be more rigorous, there > will be a /boot directory in the / filesystem, but it must be an *empty* > directory, so that another filesystem can be mounted on that directory. > Another filesystem must get mounted on the /boot directory in the root > filesystem, and that filesystem must be made on a partition of a *real* > disk which is accessible via the BIOS. It cannot be an LVM2 logical > volume. The boot partition contains the LILO map file (by default, > /boot/map) as well as the kernel image file and the initial RAM filesystem > image file. LILO reads these files at boot time via BIOS calls, and the > BIOS does not support LVM2 logical volumes. You can have a physical disk > with two partitions on it, one partition of which is an LVM2 physical > volume which is part of an LVM2 logical volume, and the other one of which > is a stand-alone partition which is mounted on /boot. But the filesystem > which gets mounted on /boot must *not* be an LVM2 logical volume. I > thought I made that clear before. Also, the LILO boot sector must be > either on the MBR of a *real* disk, or the first sector of a partition on a > *real* disk. > > > The loop that I get is something more problematic. > > Agreed. As I said before, there is probably something missing from the > initial RAM file system that needs to be there for the kernel to mount an > LVM2 logical volume. > =========================== > > Could he not dd them onto another drive? > ... >He can copy the /boot data to another drive, not necessarily >with dd. In fact, if he wants to be able to remove the >existing IDE drive, he must. But he cannot copy it to an >LVM2 logical volume. The data in /boot (after copying) >must be on a partition on a physical disk which is accessible >via the BIOS and not on the old IDE drive which he wishes >to remove. The / filesystem can be an LVM2 logical volume, >provided the initial RAM filesystem contains sufficient files >to mount an LVM2 logical volume, but the filesystem which >gets mounted on /boot must be made on a partition of a *real* >disk which is not scheduled to be removed from the system. Repeat: NO LV's
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-20 12:10 +0100
Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-20 19:20 +0100
Re: Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-20 22:00 +0100
Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-20 22:40 +0100
Re: Attempt to Move Root David Christensen <dpchrist@holgerdanske.com> - 2015-12-21 10:00 +0100
Re: Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-21 11:00 +0100
Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-21 16:30 +0100
Re: Attempt to Move Root Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-21 16:40 +0100
Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-21 21:40 +0100
Re: Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-21 16:40 +0100
Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-21 21:00 +0100
Re: Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-21 21:50 +0100
Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-21 22:20 +0100
Re: Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-22 08:50 +0100
Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-22 17:00 +0100
Re: Attempt to Move Root John Hasler <jhasler@newsguy.com> - 2015-12-22 18:40 +0100
Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-22 18:40 +0100
Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-22 19:50 +0100
Re: Attempt to Move Root Sven Hartge <sven@svenhartge.de> - 2015-12-22 20:50 +0100
Re: Attempt to Move Root Brian <ad44@cityscape.co.uk> - 2015-12-22 21:20 +0100
Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-22 23:10 +0100
Re: Attempt to Move Root Sven Hartge <sven@svenhartge.de> - 2015-12-22 23:30 +0100
Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-23 10:40 +0100
Re: Attempt to Move Root Sven Hartge <sven@svenhartge.de> - 2015-12-24 02:20 +0100
Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-24 12:20 +0100
Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-27 14:10 +0100
Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-27 14:50 +0100
Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-27 15:20 +0100
Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-27 15:40 +0100
Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-27 16:00 +0100
Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-27 16:20 +0100
Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-28 03:50 +0100
Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-28 03:50 +0100
Re: Attempt to Move Root Gene Heskett <gheskett@shentel.net> - 2015-12-27 16:10 +0100
Re: Attempt to Move Root Petter Adsen <petter@synth.no> - 2016-01-01 10:20 +0100
Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-01-01 11:40 +0100
Re: Attempt to Move Root Sven Hartge <sven@svenhartge.de> - 2015-12-28 03:50 +0100
Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-28 03:50 +0100
Re: Attempt to Move Root Brian <ad44@cityscape.co.uk> - 2015-12-22 23:40 +0100
Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-25 17:10 +0100
Re: Attempt to Move Root John Hasler <jhasler@newsguy.com> - 2015-12-22 19:50 +0100
Re: Attempt to Move Root (SOLVED!!) David Baron <d_baron@012.net.il> - 2015-12-23 10:00 +0100
Re: Attempt to Move Root (SOLVED!!) Anders Andersson <pipatron@gmail.com> - 2015-12-23 12:50 +0100
Re: Attempt to Move Root (SOLVED!!) David Baron <d_baron@012.net.il> - 2015-12-23 13:20 +0100
Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-25 16:40 +0100
Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-28 05:00 +0100
Re: Attempt to Move Root David Christensen <dpchrist@holgerdanske.com> - 2015-12-21 20:00 +0100
csiph-web