Re: [DNG] reinstalling GRUB2

2019-07-30 Thread Haines Brown
I apologize for being semi-disconnected: I left a laptop running with mail daemon capturing half my mail unbeknownst to me. I'll be trying a couple of things out and will get back to the thread if I've any luck. Haines Brown ___ Dng mailing list Dng@l

Re: [DNG] reinstalling GRUB2

2019-07-29 Thread Arnt Karlsen
On Mon, 29 Jul 2019 09:14:22 -0400, fsmithred wrote in message <6fb8a2c0-8853-ba71-1bd1-a3a8a518d...@gmail.com>: > On 7/27/19 2:52 PM, Haines Brown wrote: ... > > I will run # e2fsck -p -f and then reboot and try to install Grub > > again. But given the problem might be a damaged hard disk, saf

Re: [DNG] reinstalling GRUB2

2019-07-29 Thread fsmithred via Dng
On 7/27/19 2:52 PM, Haines Brown wrote: I'm installing Ascii->Beowulf on a separate hard disk, but obviously would like to make my current disk bootable as well. But still can't install GRUB: # grub-install bash: grub-install: command not found Since your su is acting like it's fro

Re: [DNG] reinstalling GRUB2

2019-07-27 Thread Haines Brown
I'm installing Ascii->Beowulf on a separate hard disk, but obviously would like to make my current disk bootable as well. I happen to do a bit of editing of /etc/fstab # nano /etc/ftab When I try to save the edit: Error writing /etc/fstab: Read-only file system Yet: # ls -la /etc/fstab

Re: [DNG] reinstalling GRUB2

2019-07-27 Thread Haines Brown
I'm installing Ascii->Beowulf on a separate hard disk, but obviously would like to make my current disk bootable as well. I happen to do a bit of editing of /etc/fstab # nano /etc/ftab When I try to save the edit: Error writing /etc/fstab: Read-only file system Yet: # ls -la /etc/f

Re: [DNG] reinstalling GRUB2

2019-07-25 Thread fsmithred via Dng
On 7/25/19 7:46 AM, Haines Brown wrote: On Thu, Jul 25, 2019 at 06:59:02AM -0400, fsmithred via Dng wrote: On 7/24/19 4:40 PM, Haines Brown wrote: I've no idea what's going on. I think you got a non-devuanized util-linux from ascii-security. That package has been replaced. You should be able

Re: [DNG] reinstalling GRUB2

2019-07-25 Thread Haines Brown
On Thu, Jul 25, 2019 at 06:59:02AM -0400, fsmithred via Dng wrote: > On 7/24/19 4:40 PM, Haines Brown wrote: > > > > I've no idea what's going on. > > I think you got a non-devuanized util-linux from ascii-security. That > package has been replaced. You should be able to get the right one with the

Re: [DNG] reinstalling GRUB2

2019-07-25 Thread fsmithred via Dng
On 7/24/19 4:40 PM, Haines Brown wrote: I've no idea what's going on. I think you got a non-devuanized util-linux from ascii-security. That package has been replaced. You should be able to get the right one with the following commands. su - apt-get update apt-get install util-linux or a

Re: [DNG] reinstalling GRUB2 - Verion

2019-07-24 Thread terryc
On Wed, 24 Jul 2019 10:45:03 -0400 Haines Brown wrote: > I've no idea what's going on. I was told to use the grub2-install > command, but on my system (Ascii) there is only > /usr/sbin/grub-install. It seems my grub-install command can be run > by user, but not by root becasue root has no path to

Re: [DNG] reinstalling GRUB2

2019-07-24 Thread fsmithred via Dng
On 7/24/19 4:40 PM, Haines Brown wrote: When I become root with "su", I get the following: # grub-install bash: grub-install: command not found # /usr/sbin/grub-install bash: /usr/sbin/grub-install: No such file or directory How are you becoming root? In ascii, either 'su' or 'su

Re: [DNG] reinstalling GRUB2

2019-07-24 Thread Haines Brown
On Wed, Jul 24, 2019 at 03:35:08PM -0400, fsmithred via Dng wrote: > > I've no idea what's going on. I was told to use the grub2-install > > command, but on my system (Ascii) there is only > > /usr/sbin/grub-install. > > grub-install is all I've ever used or seen mentioned in debian. I suspect

Re: [DNG] reinstalling GRUB2

2019-07-24 Thread Antoine via Dng
On Mon, Jul 22, 2019 at 12:40:40PM -0400, Haines Brown wrote: On Mon, Jul 22, 2019 at 06:24:32AM -0400, fsmithred via Dng wrote: On 7/22/19 1:48 AM, Steve Litt wrote: ... I tried the chroot method, but with little luck. I'm set up for BIOS boot. My /root partion is /sdb1, and my broken out /bo

Re: [DNG] reinstalling GRUB2

2019-07-24 Thread fsmithred via Dng
On 7/24/19 10:45 AM, Haines Brown wrote: I seem to be loosing ground. Someone helped me with the chroot method, but then: # grub2-install /dev/sdb bash: grub2-install: command not found # grub-install /dev/sdb bash: grub-install: command not found # ls -la /usr/sbin | grep grub-install ls: can

Re: [DNG] reinstalling GRUB2

2019-07-24 Thread Haines Brown
I seem to be loosing ground. Someone helped me with the chroot method, but then: # grub2-install /dev/sdb bash: grub2-install: command not found # grub-install /dev/sdb bash: grub-install: command not found # ls -la /usr/sbin | grep grub-install ls: cannot access '/usr/sbin': No such file or dir

Re: [DNG] reinstalling GRUB2

2019-07-24 Thread Haines Brown
I seem to be loosing ground. Someone helped me with the chroot method, but then: # grub2-install /dev/sdb bash: grub2-install: command not found # grub-install /dev/sdb bash: grub-install: command not found # ls -la /usr/sbin | grep grub-install ls: cannot access '/usr/sbin': No such file or d

Re: [DNG] reinstalling GRUB2

2019-07-23 Thread aitor
Hi, En 23 de julio de 2019 1:00:03 fsmithred via Dng escribió: On 7/22/19 12:40 PM, Haines Brown wrote: So I do ... # chroot /sysroot # grub-install /dev/sdb bash grub-install: command not found # ls -la /usr/sbin | grep grub-install -rwxr-xr-x 1 root root 102046 Oct 28 2018 grub-inst

Re: [DNG] reinstalling GRUB2

2019-07-23 Thread Larry De Coste via Dng
|fsmithred wrote among other things: |" I don't know if it operates like that in alternate realities, and i think you might be in one." Just the way I think of chroot!! __ Lawrence De Coste Cell/Text/Signal/Telegram: +1 401-275-3712 ___ Dng mailin

Re: [DNG] reinstalling GRUB2

2019-07-22 Thread fsmithred via Dng
On 7/22/19 12:40 PM, Haines Brown wrote: So I do ... # chroot /sysroot # grub-install /dev/sdb bash grub-install: command not found # ls -la /usr/sbin | grep grub-install -rwxr-xr-x 1 root root 102046 Oct 28 2018 grub-install # /

Re: [DNG] reinstalling GRUB2

2019-07-22 Thread Haines Brown
On Mon, Jul 22, 2019 at 06:24:32AM -0400, fsmithred via Dng wrote: > On 7/22/19 1:48 AM, Steve Litt wrote: ... I tried the chroot method, but with little luck. I'm set up for BIOS boot. My /root partion is /sdb1, and my broken out /boot partition is /dev/sdb2. So for grub-root-device I use /dev/sd

Re: [DNG] reinstalling GRUB2

2019-07-22 Thread Simon Hobson
Haines Brown wrote: > I tried the chroot method, but with little luck. ... ># chroot /sysroot > ># grub-install /dev/sdb >bash grub-install: command not found > ># ls -la /usr/sbin | grep grub-install >-rwxr-xr-x 1 root root 102046 Oct 28 2018 grub-insta

Re: [DNG] reinstalling GRUB2

2019-07-22 Thread Haines Brown
On Mon, Jul 22, 2019 at 06:24:32AM -0400, fsmithred via Dng wrote: > On 7/22/19 1:48 AM, Steve Litt wrote: ... I tried the chroot method, but with little luck. I'm set up for BIOS boot. My /root partion is /sdb1, and my broken out /boot partition is /dev/sdb2. So for grub-root-device I use /dev/

Re: [DNG] reinstalling GRUB2

2019-07-22 Thread Simon Hobson
Steve Litt wrote: > Simon Hobson wrote: >> 1) use grub rescue cd (which you can put on a USB stick). Then fairly >> easy to sort out by picking the right menu options. > > Do you mean: > > * Super Grub2 Disk (https://sourceforge.net/projects/supergrub2/) > * boot-repair-disk (https://sourcefo

Re: [DNG] reinstalling GRUB2

2019-07-22 Thread fsmithred via Dng
On 7/22/19 1:48 AM, Steve Litt wrote: On Sun, 21 Jul 2019 20:25:42 +0100 Simon Hobson wrote: 2) use these incantations, lifted from a post elsewhere : mkdir /sysroot mount /dev/your-root-dev /sysroot mount /dev/your-boot-dev /sysroot/boot mount --bind /dev /sysroot/dev mount --bind /sys /s

Re: [DNG] reinstalling GRUB2

2019-07-21 Thread Steve Litt
On Sun, 21 Jul 2019 20:25:42 +0100 Simon Hobson wrote: > I see two other ways to make this easy, both of which have worked for > me in the past : This is great information. I have some questions... > > 1) use grub rescue cd (which you can put on a USB stick). Then fairly > easy to sort out by

Re: [DNG] reinstalling GRUB2

2019-07-21 Thread Simon Hobson
I see two other ways to make this easy, both of which have worked for me in the past : 1) use grub rescue cd (which you can put on a USB stick). Then fairly easy to sort out by picking the right menu options. 2) use these incantations, lifted from a post elsewhere : mkdir /sysroot mount /dev/

[DNG] reinstalling GRUB2

2019-07-21 Thread Haines Brown
In the process of installing Ascii on a new HD in my box, I somehow managed to break GRUB2 un the principal hard disk in the box, whhich is /dev/sdb. When I boot /dev/sdb, I do not get its GRUB menu, but a simple blinking cursor at the upper left. This usually indicates video problems, but I h