On Tue, Oct 04, 2011 at 08:08:33PM -0400, Chris Brennan wrote:
> Greetings!
> 
> I've noticed recently, that if I create partitions in parted and then reboot
> my vBox VM for some reason or another, I am unable to see those partitions
> again to resume my tasks. This occurs in the HLFS LiveCD r2145. I really
> *don't* want to have to wipe my partitions and start over again.
> 
 I know nothing of vBox, nor indeed of any other vm, but since nobody
else reading the list has any suggestions, let's try and tease out
some more information.  Is vBox the same as VirtualBox ?

 I've assumed you made partitions on a real disk.  If the disk in
your vm is virtual, then disregard these questions and the
suggestion.

 You are running the HLFS LiveCD in vBox ?

 Did the partitions appear when you created them ?  If so, did you
do anything to them (e.g. mkfs, mount, ...) ?

 What is the host system on which vBox is running ?  Does _it_ know
that the new partitions are there ?  If your machine isn't natively
running linux, I will lose all interest ;-)

 I can recall some fun and games in the past when I repartitioned a
system disk - the kernel got the new partition table, but in a vm I
assume that both the kernel in the vm, and the host kernel, would
need to get this information.  How such changes are communicated to
vBox is probably best asked on a vBox list.  I wonder if something
in your vBox "installation" process configures it to use the disk as
it was at the time it was first run, and then for subsequent runs
just reuses that information.

 If this is a regular DOS partition table, you might be able to use
mknod to create device nodes if your vm lets you do that. So, for
/dev/sdX  sda starts at 8,0 and sda1 is 8,1 then add 16 for each new
disk, so 8,16 and 8,17 for sdb and sdb1, etc.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to