making an ISO image

Rob Whyte fudge at thefudge.net
Sun Aug 7 00:31:06 UTC 2016


Hi,

mount -a reads your /etc/fstab file.

If sda2 is in that file and has the location as /mnt yes it would work.

But it is unlikely.


So that is why you need to specify the partition, being /dev/sda2 and
the mount point which is /mnt

mount /dev/sda2 /mnt

 

Good luck

Rob



On 07/08/16 10:28, Glenn / Lenny wrote:
> Okay, I'll try that, but I did do:
> mount -a
> assuming that would get it, but I'm not that good at some of this.
> Thanks.
> Glenn
>
>     ----- Original Message -----
>     *From:* Rob Whyte <mailto:fudge at thefudge.net>
>     *To:* Glenn / Lenny <mailto:gErvin at cableone.net>
>     *Sent:* Saturday, August 06, 2016 6:54 PM
>     *Subject:* Re: making an ISO image
>
>     ,
>
>     Hi,
>     that is because you didn't mount sda2.
>     So try again but first,
>     mount /dev/sda2 /mnt
>
>     On 07/08/16 09:52, Glenn / Lenny wrote:
>>     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
>>     <mhtml:%7BAC45AB4A-95F3-477C-93EE-6634985EC77A%7Dmid://00001450/%21x-usc:mailto:fudge@thefudge.net>>
>>     To: ubuntu-accessibility at lists.ubuntu.com
>>     <mhtml:%7BAC45AB4A-95F3-477C-93EE-6634985EC77A%7Dmid://00001450/%21x-usc:mailto:ubuntu-accessibility@lists.ubuntu.com>
>>     Subject: Re: {Spam?} making an ISO image
>>     Message-ID: <ecf1818c-7a42-ad90-44b7-dccf00944a49 at thefudge.net
>>     <mhtml:%7BAC45AB4A-95F3-477C-93EE-6634985EC77A%7Dmid://00001450/%21x-usc:mailto:ecf1818c-7a42-ad90-44b7-dccf00944a49@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/20160807/995dde68/attachment.html>


More information about the Ubuntu-accessibility mailing list