mounting a freedos virtual box in Debian
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have installed virtualbox in Debian 9. Then, I installed FreeDOS in the virtual box folling the tutorial in http://wiki.freedos.org/wiki/index.php/VirtualBox_-_Chapter_6. I have installed the libguestfs-tools and fuse.
Now, when I run
guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
I get this
guestmount: access: freeDOS.vhd: No such file or directory
the command
virt-filesystems --long --filesystems -a /data/freeDOS/freeDOS.vhd
gives this
Name Type VFS Label Size Parent
/dev/sda1 filesystem vfat FREEDOS2016 104752640 -
Any help on how to mount the freeDOS vhd to share it with Debian?
Many thanks
debian virtualbox freedos
add a comment |Â
up vote
0
down vote
favorite
I have installed virtualbox in Debian 9. Then, I installed FreeDOS in the virtual box folling the tutorial in http://wiki.freedos.org/wiki/index.php/VirtualBox_-_Chapter_6. I have installed the libguestfs-tools and fuse.
Now, when I run
guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
I get this
guestmount: access: freeDOS.vhd: No such file or directory
the command
virt-filesystems --long --filesystems -a /data/freeDOS/freeDOS.vhd
gives this
Name Type VFS Label Size Parent
/dev/sda1 filesystem vfat FREEDOS2016 104752640 -
Any help on how to mount the freeDOS vhd to share it with Debian?
Many thanks
debian virtualbox freedos
Have you considered dosbox.com ? There is a Debian version that might well suit your needs.
â Peter David Carter
Oct 14 '17 at 8:57
If your question has typo(s), edit it and correct them.
â Scott
Oct 14 '17 at 12:31
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have installed virtualbox in Debian 9. Then, I installed FreeDOS in the virtual box folling the tutorial in http://wiki.freedos.org/wiki/index.php/VirtualBox_-_Chapter_6. I have installed the libguestfs-tools and fuse.
Now, when I run
guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
I get this
guestmount: access: freeDOS.vhd: No such file or directory
the command
virt-filesystems --long --filesystems -a /data/freeDOS/freeDOS.vhd
gives this
Name Type VFS Label Size Parent
/dev/sda1 filesystem vfat FREEDOS2016 104752640 -
Any help on how to mount the freeDOS vhd to share it with Debian?
Many thanks
debian virtualbox freedos
I have installed virtualbox in Debian 9. Then, I installed FreeDOS in the virtual box folling the tutorial in http://wiki.freedos.org/wiki/index.php/VirtualBox_-_Chapter_6. I have installed the libguestfs-tools and fuse.
Now, when I run
guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
I get this
guestmount: access: freeDOS.vhd: No such file or directory
the command
virt-filesystems --long --filesystems -a /data/freeDOS/freeDOS.vhd
gives this
Name Type VFS Label Size Parent
/dev/sda1 filesystem vfat FREEDOS2016 104752640 -
Any help on how to mount the freeDOS vhd to share it with Debian?
Many thanks
debian virtualbox freedos
edited Oct 14 '17 at 12:35
asked Oct 14 '17 at 8:33
berkboy
11
11
Have you considered dosbox.com ? There is a Debian version that might well suit your needs.
â Peter David Carter
Oct 14 '17 at 8:57
If your question has typo(s), edit it and correct them.
â Scott
Oct 14 '17 at 12:31
add a comment |Â
Have you considered dosbox.com ? There is a Debian version that might well suit your needs.
â Peter David Carter
Oct 14 '17 at 8:57
If your question has typo(s), edit it and correct them.
â Scott
Oct 14 '17 at 12:31
Have you considered dosbox.com ? There is a Debian version that might well suit your needs.
â Peter David Carter
Oct 14 '17 at 8:57
Have you considered dosbox.com ? There is a Debian version that might well suit your needs.
â Peter David Carter
Oct 14 '17 at 8:57
If your question has typo(s), edit it and correct them.
â Scott
Oct 14 '17 at 12:31
If your question has typo(s), edit it and correct them.
â Scott
Oct 14 '17 at 12:31
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
First command says freeDOS.vdi and second freeDOS.vhd
yes. sorry. it should say guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
â berkboy
Oct 14 '17 at 9:32
welp I thought that was the source of your problem?
â jdwolf
Oct 14 '17 at 9:35
no. i am afraid the problem still remains. for some reason guestmount does not recognize the *.vhd. I have read some forums and it seems that the guestmount mount *.img. But the freedos tutorial says the it can mount *.vhd
â berkboy
Oct 14 '17 at 9:42
add a comment |Â
up vote
0
down vote
Load nbd module
modprobe nbd max_part=16Map vhd/vdi to system
qemu-nbd -c /dev/nbd0 image.qcow2
View partition in vhd
fdisk -l
Mount the partition you want
mount /dev/nbd0p1 /mnt
Video step by step: https://www.youtube.com/watch?v=zIpvNoJmVRs
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
First command says freeDOS.vdi and second freeDOS.vhd
yes. sorry. it should say guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
â berkboy
Oct 14 '17 at 9:32
welp I thought that was the source of your problem?
â jdwolf
Oct 14 '17 at 9:35
no. i am afraid the problem still remains. for some reason guestmount does not recognize the *.vhd. I have read some forums and it seems that the guestmount mount *.img. But the freedos tutorial says the it can mount *.vhd
â berkboy
Oct 14 '17 at 9:42
add a comment |Â
up vote
0
down vote
First command says freeDOS.vdi and second freeDOS.vhd
yes. sorry. it should say guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
â berkboy
Oct 14 '17 at 9:32
welp I thought that was the source of your problem?
â jdwolf
Oct 14 '17 at 9:35
no. i am afraid the problem still remains. for some reason guestmount does not recognize the *.vhd. I have read some forums and it seems that the guestmount mount *.img. But the freedos tutorial says the it can mount *.vhd
â berkboy
Oct 14 '17 at 9:42
add a comment |Â
up vote
0
down vote
up vote
0
down vote
First command says freeDOS.vdi and second freeDOS.vhd
First command says freeDOS.vdi and second freeDOS.vhd
answered Oct 14 '17 at 9:05
jdwolf
2,392116
2,392116
yes. sorry. it should say guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
â berkboy
Oct 14 '17 at 9:32
welp I thought that was the source of your problem?
â jdwolf
Oct 14 '17 at 9:35
no. i am afraid the problem still remains. for some reason guestmount does not recognize the *.vhd. I have read some forums and it seems that the guestmount mount *.img. But the freedos tutorial says the it can mount *.vhd
â berkboy
Oct 14 '17 at 9:42
add a comment |Â
yes. sorry. it should say guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
â berkboy
Oct 14 '17 at 9:32
welp I thought that was the source of your problem?
â jdwolf
Oct 14 '17 at 9:35
no. i am afraid the problem still remains. for some reason guestmount does not recognize the *.vhd. I have read some forums and it seems that the guestmount mount *.img. But the freedos tutorial says the it can mount *.vhd
â berkboy
Oct 14 '17 at 9:42
yes. sorry. it should say guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
â berkboy
Oct 14 '17 at 9:32
yes. sorry. it should say guestmount -a freeDOS.vhd -m /dev/sda1 /data/freeDOS
â berkboy
Oct 14 '17 at 9:32
welp I thought that was the source of your problem?
â jdwolf
Oct 14 '17 at 9:35
welp I thought that was the source of your problem?
â jdwolf
Oct 14 '17 at 9:35
no. i am afraid the problem still remains. for some reason guestmount does not recognize the *.vhd. I have read some forums and it seems that the guestmount mount *.img. But the freedos tutorial says the it can mount *.vhd
â berkboy
Oct 14 '17 at 9:42
no. i am afraid the problem still remains. for some reason guestmount does not recognize the *.vhd. I have read some forums and it seems that the guestmount mount *.img. But the freedos tutorial says the it can mount *.vhd
â berkboy
Oct 14 '17 at 9:42
add a comment |Â
up vote
0
down vote
Load nbd module
modprobe nbd max_part=16Map vhd/vdi to system
qemu-nbd -c /dev/nbd0 image.qcow2
View partition in vhd
fdisk -l
Mount the partition you want
mount /dev/nbd0p1 /mnt
Video step by step: https://www.youtube.com/watch?v=zIpvNoJmVRs
add a comment |Â
up vote
0
down vote
Load nbd module
modprobe nbd max_part=16Map vhd/vdi to system
qemu-nbd -c /dev/nbd0 image.qcow2
View partition in vhd
fdisk -l
Mount the partition you want
mount /dev/nbd0p1 /mnt
Video step by step: https://www.youtube.com/watch?v=zIpvNoJmVRs
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Load nbd module
modprobe nbd max_part=16Map vhd/vdi to system
qemu-nbd -c /dev/nbd0 image.qcow2
View partition in vhd
fdisk -l
Mount the partition you want
mount /dev/nbd0p1 /mnt
Video step by step: https://www.youtube.com/watch?v=zIpvNoJmVRs
Load nbd module
modprobe nbd max_part=16Map vhd/vdi to system
qemu-nbd -c /dev/nbd0 image.qcow2
View partition in vhd
fdisk -l
Mount the partition you want
mount /dev/nbd0p1 /mnt
Video step by step: https://www.youtube.com/watch?v=zIpvNoJmVRs
answered Nov 9 '17 at 17:20
NGUYEN DUC TAM
11
11
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398081%2fmounting-a-freedos-virtual-box-in-debian%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Have you considered dosbox.com ? There is a Debian version that might well suit your needs.
â Peter David Carter
Oct 14 '17 at 8:57
If your question has typo(s), edit it and correct them.
â Scott
Oct 14 '17 at 12:31