lkml.org 
[lkml]   [1999]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectfdisk /dev/loop0 ?
    Hello,

    Can anyone tell me if it is possible to manipulate a disk image with
    multiple partitions? I wanted to make a file that looks like
    "hda: hda1 hda2" for booting Linux (or some other OS) under bochs and I
    don't know of an easy way of doing it. I.e. the only way I can think of is
    to make the partitions as separate files and also a separate boot sector
    with partition table in it and then merge it all together.

    Wouldn't it be nice to use the other minor entries of a loop device
    (loop1-loop7) for this kind of partitioning scheme?

    (I know that I could workaround this particular problem by using /dev/hda
    instead of /dev/hda1 and have swap elsewhere but I am curious if it is in
    principle possible to manipulate disk images with more than 0 partitions
    on them)

    Regards,
    Tigran.




    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:52    [W:3.092 / U:0.216 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site