[Fedora-livecd-list] What happens if I partition from a live cd?

Jane Dogalt jdogalt at yahoo.com
Sun Feb 11 19:48:12 UTC 2007


--- Leslie Vincent <lvincent at dtcc.edu> wrote:

> I'm trying to modify some Linux labs for a class I'm teaching so that
> 
> students can work from home on their non-Linux system using the
> Fedora 
> 6 Zod live CD on their Windows-based PCs.
> 
> One lab has them running fdisk to create a partition, though, and the
> 
> last thing I want is to have them do something that's going to mess
> up 
> their PCs.  Is there a way to have them play with running fdisk off
> the 
> live CD without it affecting their PC's actual hard drives?

qemu?

i.e.

qemu-img create /tmp/fakebits.img 100G
qemu -boot d -cdrom /dev/livecd -hdc /tmp/fakebits.img -m 256

(booting the livecd virtually from within the livecd.  Make sure to
make the fakebits device one that is nonexistent on teh real system,
just in case someone thinks they are typing in the virtual host, but
are typing in the real host).  That is assuming qemu is on the livecd. 


Or you could create an empty file, associate it with a loop device, and
partition that perhaps.

-dmc/jdog


> 
> I'd play with it myself but I'm at home and don't have access to a 
> system that I'm willing to rebuild if I mess up my own hard drive!
> 
> Thanks to anyone who can answer this.
> 
> 
> 
> 
> 
> --
> Fedora-livecd-list mailing list
> Fedora-livecd-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-livecd-list
> 



 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 




More information about the Fedora-livecd-list mailing list