Author Topic: Command not working in Terminal  (Read 9846 times)

Offline Colin23erk

  • Newbie
  • *
  • Posts: 1
Command not working in Terminal
« on: 2014/07/19, 16:09:29 pm »
1st I can only copy command but cannot paste in Terminal as suggested.
2nd Input only accepts USA layout  not UK i.e. when I type  "  then  @  appears
3rd When  I manually type    (  sudo chroot "/mnt/boot-sav/sda6"dpkg -configure -a  ) I get an error message it does not understand -o request not  -a that I entered

Looked at chroot --help but could not find (dpkg -configure -a ) argument

Colin

Offline adrian15

  • Administrator
  • Hero Member
  • *****
  • Posts: 833
  • Please test Rescatux and report back feedback...
    • El blog de adrian15
Re: Command not working in Terminal
« Reply #1 on: 2014/07/20, 02:27:45 am »
1st I can only copy command but cannot paste in Terminal as suggested.
2nd Input only accepts USA layout  not UK i.e. when I type  "  then  @  appears
3rd When  I manually type    (  sudo chroot "/mnt/boot-sav/sda6"dpkg -configure -a  ) I get an error message it does not understand -o request not  -a that I entered

Looked at chroot --help but could not find (dpkg -configure -a ) argument

Colin

I see you come from linux.org where they suggest to use boot-repair instead of own tools for repairing Grub (I guess).

You can check if you can copy and paste in Rescatux 0.32 beta 1. I will probably check that the default terminal can be used to paste text in it. That way boot-repair not will only be functional by itself but also when the user is supposed to write commands manually.

About the commands usually you enter the chroot with:

Code: [Select]
chroot /mnt/boot-sav/sda6
and then your run whatever you want to, e.g.:
Code: [Select]
dpkg --configure -a
and finally you exit the chroot
Code: [Select]
exit
.

Anyway depending on your problem try the default options for fixing grub and see what it does.
If you have liked this piece of advice please consider donating to the Super Grub Disk project.