1

I have a computer that doesn't want to boot from a usb drive. so I burned a live dvd. problem is that the dvd drive crashes once it heats up so I want the live environment to check the usb drive when it needs any files.
Can I redirect /media/cdrom/ to /media/ubuntu/ubuntu\ live/ ???

1 Answer 1

3

This...

# mount --bind "/media/ubuntu/ubuntu live/" /media/cdrom

...will "bind" mount the former directory in the latter location.

4
  • aaww, unfortunately the live environment still accesses the dvd and not the usb when it needs new files. I also tried replacing /cdrom but to no avail. hmm, I'll try to find out where the dvd is mounted. thanks
    – Akisame
    Mar 17, 2016 at 19:07
  • I half suspected it might :-( I guess perhaps the live environment has an "unshared" copy of the file system and the mount isn't having any effect on it. Otherwise, perhaps mount will give you a clue as to where else the cdrom is mounted.
    – Mark Smith
    Mar 17, 2016 at 19:16
  • yeah, it has a mount: /dev/sr0 on /cdrom type iso9660 (ro,noatime). so I'll have to couple /dev/sr0 to /dev/sda1 (I don't have a hard drive atm so it's sda for my usb drive)
    – Akisame
    Mar 17, 2016 at 20:16
  • I have made a symbolic link from sda1 to sr0 and it seems to have worked. thanks for your help
    – Akisame
    Mar 17, 2016 at 20:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .