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

Re: Ability to install to loopmounted filesystem - mentor wanted

Okay, I found the relevant part of code. Still unsure about the usage though. Brian, can you tell me your IRC nick so that I can catch you when you come online, and ask a few things?

On Mon, Dec 3, 2012 at 10:16 AM, Tirtha Chatterjee <tirtha p chatterjee gmail com> wrote:
Reopening a very old thread, since I'm back to working on it.
Which part of the anaconda source should i check for understanding how --image works?

Also, i tried running anaconda with a kickstart file that had this

part / --grow --fstype=ext4 -->
part swap --grow --fstype=swap -->
bootloader --location=partition

Anaconda, on running, tells me that "no root ( '/' ) partition has been specified. no boot device has been specified". Any idea what's going wrong, since anaconda is detecting the loop0 device, and is giving a different error if I use some invalid path in place of the loop device.

On Tue, Jan 3, 2012 at 10:34 PM, Brian C. Lane <bcl redhat com> wrote:
On Tue, Jan 03, 2012 at 05:57:59PM +0530, Tirtha Chatterjee wrote:
> Hello. I am trying to implement something like Wubi on Fedora. For
> this, I first need to make it possible to install to loopmounted
> filesystems through anaconda. I don't think a lot of modification to
> the existing source code is required.
> I tried going through the source code, but it seemed quite big to
> manage without some guidance. I would be extremely happy if someone
> guided me on this.

We can install to a disk image file using --image, would this work for
you instead of a loop device?

It should be possible to add loop device support, since that is how
the image install works -- you'd just (famous last words) skip the
initial loop setup of the image and point to a preexisting one. I'd
start by looking at the --image install code and go from there.

Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Anaconda-devel-list mailing list
Anaconda-devel-list redhat com

Tirtha Chatterjee
KDE developer

Tirtha Chatterjee
KDE developer

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