Ask Your Question
1

Disks does not see partitions in a loop device

asked 2016-04-08 13:15:50 -0600

Moses gravatar image

I used Parted on a loop device (trying to use another OS on VirtualBox). The Disks utility won't recognise the new partitions. Because of this I can't mount loop devices. I have NO idea why it isn't working. I have reinstalled, so it couldn't be that I simply messed up the OS. Has anybody else had this problem? Do you have any fixes or other programs that might recognise the partition?? Sorry if this is a noob question--i wouldn't know.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-04-09 21:04:18 -0600

jmt gravatar image

At this time the kernel might not have information about the new partitions. This is what I did to make this work on /dev/loop0:

1: kpartx /dev/loop0 creates device files for the partitions on /dev/loop0

2: partprobe /dev/loop0 makes the kernel be aware of the new partitions

After these commands the Disks Utility shows the partitions on the loop device.

edit flag offensive delete link more

Comments

It's working now. Thanks!!

Moses gravatar imageMoses ( 2016-04-11 09:19:26 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-04-08 13:06:27 -0600

Seen: 306 times

Last updated: Apr 09 '16