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:[email protected]> > *To:* Glenn / Lenny <mailto:[email protected]> > *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 <[email protected] >> >> <mhtml:%7BAC45AB4A-95F3-477C-93EE-6634985EC77A%7Dmid://00001450/%21x-usc:mailto:[email protected]>> >> To: [email protected] >> >> <mhtml:%7BAC45AB4A-95F3-477C-93EE-6634985EC77A%7Dmid://00001450/%21x-usc:mailto:[email protected]> >> Subject: Re: {Spam?} making an ISO image >> Message-ID: <[email protected] >> >> <mhtml:%7BAC45AB4A-95F3-477C-93EE-6634985EC77A%7Dmid://00001450/%21x-usc:mailto:[email protected]>> >> 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? >> >> >
-- Ubuntu-accessibility mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility
