CD drive not mounted on /media when using livemedia

Found a bug in Parted Magic?

Moderators: Patrick Verner, Icecube

CD drive not mounted on /media when using livemedia

Postby Icecube » Wed Jul 15, 2009 12:40 am



When using livemedia the CD or USB drive gets mounted as /livemnt.
In /media (/ramdisk/media) an empty map (e.g. cdrom1) exists, but it doesn't contain any content.

Mount-gtk shows the CD drive and mount path as /media/cdrom1.

The line in the livemedia function in the initramfs should use the correct path:
Change:
Code: Select all
mount -o move /test_mnt /newroot/livemnt

To (the correct name for the map should be derived first: here ==> cdrom1):
Code: Select all
mount -o move /test_mnt /newroot/ramdisk/media/cdrom1

Or you can add a (the correct name for the map should be derived first: here ==> cdrom1):
Code: Select all
mount --bind /newroot/livemnt /newroot/ramdisk/media/cdrom1


Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Icecube
Site Admin
 
Posts: 324
Joined: Wed Nov 19, 2008 2:43 am

Re: CD drive not mounted on /media when using livemedia

Postby Patrick Verner » Wed Jul 15, 2009 1:12 am

Got it. Thanks Gert.
Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Patrick Verner
Site Admin
 
Posts: 880
Joined: Wed Nov 19, 2008 2:27 am
Location: Kaukauna, Wisconsin


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest