making an ISO image

Glenn / Lenny gervin at cableone.net
Sat Aug 6 23:52:16 UTC 2016


Hi Rob,
One thing did not work, and that may be why the chroot /mnt does not work...
The command mount -o bind /proc /mnt/proc
gives me the message:
mount point /proc does not exist
and when I run chroot /mnt
failed to run /bin/bash, no such file exists.
I am logged in as root, that is why I did not write sudo.
Thanks, I hope I can get the GRUB fixed up.
Glenn
Date: Sun, 7 Aug 2016 07:34:29 +1000
From: Rob Whyte <fudge at thefudge.net>
To: ubuntu-accessibility at lists.ubuntu.com
Subject: Re: {Spam?} making an ISO image
Message-ID: <ecf1818c-7a42-ad90-44b7-dccf00944a49 at thefudge.net>
Content-Type: text/plain; charset=windows-1252

What have ou tried when fixing your old install on sda2.

That should be recoverable quite easily.


You need to mount the /dev from your currently running Ubuntu to the
mounted partition.

For example

mount -o bind /dev /mnt/dev

Assuming that sda2 is mounted to /mnt


Repeat that for sys and proc

mount -o bind /sys /mnt/sys

mount -o bind /proc /mnt/proc


Then change the root file system using the chroot command

chroot /mnt

Now your computer thinks you are actually using sda2 instead of your USB.

If you want to install your boot loaded from sda2 to your hard drive
type this:

grub-install /dev/sda

update-grub

thene xit the chroot

exit


Good luck.



On 07/08/16 07:24, Glenn / Lenny wrote:
> So how do I tell it where to write the image of the USB drive?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-accessibility/attachments/20160806/6df60fdf/attachment.html>


More information about the Ubuntu-accessibility mailing list