Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - harriskev

Pages: [1] 2
1
Advanced Topics / Re: Broken Grub on Pep9
« on: July 25, 2020, 08:34:16 am »
I am pleased to report I reinstalled the Pep bootloader using those Terminal CHroot Instructions in a Pep9 Live disc session (thanks a lot for your help); actually in carefully reading the Boot Repair Report, I realized you (somebody) was right- I WAS always in the Ubuntu bootloader, not the Peppermint one and all the progressive worsening was happening to the Ubuntu. The Pep Saw the 101 Kernel OK. The Ubuntu is really seriously screwed up, giving multiple system errors without Internet (do you want to make a Report?... YES to me!). My home (shared) Internet is so toxic that when I tried to hook up my router to his router with all the most extreme security settings possible- it seemed to work fine (locked only to my phones and lappy, 24 char passwords, secret station)... then was reset to Admin admin. I reloaded the saved config file, then Ubuntu couldn't see it. I'm afraid to even connect that to Pep now, which has seemed to be OK.

I tried rewrite the Ubuntu grub twice with a boot USB of Boot Repair, but it didn't change anything (seems to want to turn Secure Boot ON, but it wouldn't purge the grub first). Maybe I'll wipe the drive and install Ubuntu 20.4 (anybody got any feedback on that vs 18.4??- put that on multi-boot flash too).

What would I change in that CHroot installation procedure to ONLY reinstall the Ubuntu GRUB from the Ubuntu boot flash... without writing it to sda, so it still autoboots to Peppermint? Ubuntu is on sda10.

 Or is there anything I need to change to have it fully rewrite the GRUB to boot from Ubuntu?   
   --------------------------------------------------------------

2
Advanced Topics / Re: Broken Grub on Pep9
« on: June 19, 2020, 04:51:31 pm »
Thanks- yes I have SuperGrub and have used it- painless and near miraculous. Maybe that would completely overwrite old one, but it specializes in totally messed up non-booting systems. Pep 9 has been magnificent with my new Dell, even worked in 14 year old ACER (slow but not full of security holes)!!! Although the ACER sleep ALWAYS hated newer Pep, never worked right.  Try it, or another small lite installation my friend gave me- X-Ubuntu, based on 18.04. When 80% of programs don't work, the utility is limited.

3
Advanced Topics / Re: Broken Grub on Pep9
« on: June 16, 2020, 07:18:10 pm »
Actually folk, I installed Pep9 n my ancient ACER and it worked OK, v e r y   s l o w l y, if I booted up in rescue mode 1080 x 760, otherwise it displayed at 640x 480. But the thing that was very interesting, although I used the Kernel 101 fine, the update to 106K ALSO included an redo Update to 101, so was there something wrong with it?? I never remember any kernel getting 2 installs.

Can someone tell me the proper command to purge the GRUB before reinstalling it? I put that Boot Repair program on a disc, then saw they recommend a flash, but it uses the Ubuntu Grub (which might be confusing);  and I had some questions about the options. Have you used it, Murray? Hate using  a 16gb flash for a 1 gb program; is there some multi-boot USB burning program  for Pep/Ubuntu?

4
Advanced Topics / Re: Broken Grub on Pep9
« on: June 06, 2020, 06:23:39 pm »
Reading all the (old) instructionals; they say, reinstalling does not overwrite all files, if you want to clean it out you have to PURGE it first:
"grub-install will restore missing files in the grub folder but will not restore intentionally deleted or corrupted files. To accomplish these tasks GRUB 2 must be completely removed and reinstalled."  YES Pep is clearly the bootloader, it has simple old B+W newspaper text format, the Ubuntu was quite different, more graphical, and showed Ubuntu first. I installed Pep last.

Re purge-grub... I made it up, copying the other instruction format.. I understand apt-get isn't needed now. As I said, I don't know what I'm doing and need clear instructions. This was the 2014? instructional. I can't find anything newer or re. Peppermint:
https://help.ubuntu.com/community/Grub2/Installing#via_ChRoot

Purging & Reinstalling GRUB 2
The difference between using the grub-install command and purging & reinstalling GRUB 2 is that the latter completely removes all GRUB 2 files and system settings. Purging GRUB 2 is also a method to reset all configuration settings to the default values on a working system. This may correct GRUB 2 failures due to corrupted files and improper configurations as well as for missing folders/files deleted by the user. The GRUB 2 packages removed and reinstalled via this procedure include grub-pc, grub-common and, in Grub 1.99 and later, grub-gfxpayload-lists.

important.png During this operation the user will be temporarily left with no bootloader. Ensure you have a working Internet connection and access to the repositories before purging the GRUB 2 packages.

This procedure can be accomplished very simply via Boot-Repair, or via the terminal procedure below.

Remark: the Boot-Repair procedure will also remove custom files that may block the boot. It is also able to purge and reinstall GRUB2 for UEFI / LVM / RAID systems.
via Terminal Commands

The commands from a working Ubuntu installation or once within the ChRoot of a LiveCD are the same.

    If using the LiveCD, complete the steps up to and including the sudo chroot command (Step 9) in the previous section.

Run the following commands as root. If not in a ChRoot environment, preface each command with sudo.

    Update the repositories to get a list of the most recent packages available. Ensure you have a working Internet connection and access to the repositories. If you do not, STOP!

    apt-get update

    The following command will completely remove grub-pc and grub-common. In GRUB 1.99 and later, grub-gfxpayload-lists will also be removed.

        You will be warned you are removing the bootloader. TAB to OK and press ENTER.

    apt-get purge grub-common

    Reinstall GRUB 2. When you run the following command:
        You will be given the opportunity to add kernel options. TAB to OK. You will be given the opportunity to select the devices/drives on which to install GRUB 2. Select the appropriate drive(s) with the SPACEBAR. Normally you do NOT want to select any partitions. TAB to OK after selecting the drive(s), then press ENTER.

    apt-get install grub-pc

    If using the ChRoot procedure, Exit chroot then continue the ChRoot procedure at Step 13:
------------------------------------------------------------------------------------------------------

5
Advanced Topics / Re: Broken Grub on Pep9
« on: June 01, 2020, 05:48:07 pm »
I installed the 101 Kernel on another old lappy, no problem so I definitely have something funky- I really want to purge the GRUB first.  Is THIS correct (commands from old Ubuntu Chroot instructional)

Code: [Select]
sudo mount /dev/sda12 /mnt    (Pep9)
sudo mount /dev/sda1  /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
purge-grub   (grub-common?)
grub-install /dev/sda (grub-pc?)
update-grub

6
Advanced Topics / Re: Broken Grub on Pep9
« on: May 29, 2020, 12:21:35 pm »
Could I get a little more certainty from someone??

7
Advanced Topics / Re: Broken Grub on Pep9
« on: May 28, 2020, 07:35:33 pm »
OK.     This is instructional from Feb 2019, but it's about an SSD. Is this correct for my system to reinstall the GRUB from the Live disc???? Not sure if the second line should even be there. NOTE- I do not really know what I'm doing.

BOOT FROM LIVE PEP9 DISK - Terminal
Code: [Select]
sudo mount /dev/sda12 /mnt    (Pep9)
sudo mount /dev/sda1  /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/sda
update-grub
sudo update-grub
then hit Ctrl+D to exit the chroot environment
and reboot to the HDD

8
Advanced Topics / Re: Broken Grub on Pep9
« on: May 28, 2020, 04:08:08 pm »
I reinstalled the 101 Kernel in Synaptic, that didn't help- Grub still didn't see it on boot up. I may have had sketchy Internet during the original Installation, maybe it got broken. The Kernels that I see -96, and 99 boot up OK. What is the Terminal command to delete a whole kernel?  People say just search for instructions here but every page I find then links to some Ubuntu instructions that go back to 12.4, then when I ask if that would work, they say, "You didn't find it here".

I really don't know what I'm doing well enough to not break something without specific instructions- I really thought this might be pretty simple- can't I just purge and reload Grub from the live Pep9 DVD, or do that from the BOOT-REPAIR disc (that would install the Ubuntu bootloader, I presume). Is it bad to use that on a Peppermint GRUB?

I installed BOOT-REPAIR in Ubuntu and collected info- this is the link: http://paste.ubuntu.com/p/rNqrkFWZ2h/   It does list the 101 Kernel, but NOT the -96 Kernel which still shows up in Grub (why I think it was some kind of attack, no reason for that to disappear, it was fine). Any ideas would be welcome on it's or any recommended solution.

Oh, I was checking the UEFI firmware boot order in SETUP and I clicked ADD Boot method to check it out, but it opened a window bigger than the screen, couldn't close it, when I clicked on button barely showing on the bottom, Ubuntu 18.04.4 LT had disappeared from the list... but it still shows and loads on the Peppermint Grub.

9
Advanced Topics / Re: Broken Grub on Pep9
« on: May 28, 2020, 02:45:08 pm »
As I said,   Pep's on p12, Ubuntu on p10, Win10 on p3. Big drive- lots of partitions.

10
Advanced Topics / Re: Broken Grub on Pep9
« on: May 27, 2020, 05:14:32 pm »
I read the stuff about reloading GRUB before, esp the CHown, but there are some very confusing parts. You can't just tell me if that Boot Repair Purge procedure is applicable to Peppermint?  This pic is a graphic of my partitions - where is attach now?

Device          Start        End   Sectors   Size Type
/dev/sda1        2048    1026047   1024000   500M EFI System
/dev/sda2     1026048    1288191    262144   128M Microsoft reserved
/dev/sda3     1288192  419258961 417970770 199.3G Microsoft basic data
/dev/sda4   419260416  420960255   1699840   830M Windows recovery environment
/dev/sda5   420962304  840808447 419846144 200.2G Microsoft basic data
/dev/sda6   840808448  892016639  51208192  24.4G Microsoft basic data
/dev/sda7   892016640 1211504639 319488000 152.4G Microsoft basic data
/dev/sda8  1211504640 1739198463 527693824 251.6G Microsoft basic data
/dev/sda9  1739198464 1791221759  52023296  24.8G Microsoft basic data
/dev/sda10 1791225856 1972867071 181641216  86.6G Linux filesystem
/dev/sda11 1972867072 1988493311  15626240   7.5G Linux swap
/dev/sda12 1988493312 2029510655  41017344  19.6G Linux filesystem
/dev/sda13 2029510656 2498588671 469078016 223.7G Linux filesystem
/dev/sda14 2498588672 2557183999  58595328    28G unknown
/dev/sda15 3879364608 3880286207    921600   450M Windows recovery environment
/dev/sda16 3880286208 3904700415  24414208  11.7G Windows recovery environment
/dev/sda17 3904702464 3907028991   2326528   1.1G Windows recovery environment

11
Advanced Topics / Re: Broken Grub on Pep9
« on: May 26, 2020, 06:36:52 pm »
I kinda know that, I mean a Peppermint command to tell me what Kernels exist on that, what are installed, and why on Earth Grub wouldn't find them. Synaptic saw the 101 kernel, then I reinstalled it, I updated GRUB again, but still didn't see it. Is Boot-Repair on the Peppermint 9 Respin disc or do I have to access it from the Internet (not desired)? I'll probably try that though GRUB isn't completely broken, just strange? I can't screw up whole system doing that, doing a repair on a non-broken system, can I?? What I'd like is just to wipe the GRUB, and reinstall it from the Pep disc. Is this Ubuntu instruction all still applicable on Peppermint?

Purging & Reinstalling GRUB 2
The difference between using the grub-install command and purging & reinstalling GRUB 2 is that the latter completely removes all GRUB 2 files and system settings. Purging GRUB 2 is also a method to reset all configuration settings to the default values on a working system. This may correct GRUB 2 failures due to corrupted files and improper configurations as well as for missing folders/files deleted by the user. The GRUB 2 packages removed and reinstalled via this procedure include grub-pc, grub-common and, in Grub 1.99 and later, grub-gfxpayload-lists.

important.png During this operation the user will be temporarily left with no bootloader. Ensure you have a working Internet connection and access to the repositories before purging the GRUB 2 packages.

This procedure can be accomplished very simply via Boot-Repair, or via the terminal procedure below.

Remark: the Boot-Repair procedure will also remove custom files that may block the boot. It is also able to purge and reinstall GRUB2 for UEFI / LVM / RAID systems.

via Boot-Repair Graphical Tool

* Run Boot-Repair either from liveCD or from your installed session * Click "Advanced options" --> "GRUB options" tab * Tick the "Purge GRUB and reinstall it" option --> Apply

via Terminal Commands

The commands from a working Ubuntu installation or once within the ChRoot of a LiveCD are the same.

    If using the LiveCD, complete the steps up to and including the sudo chroot command (Step 9) in the previous section.

Run the following commands as root. If not in a ChRoot environment, preface each command with sudo.

    Update the repositories to get a list of the most recent packages available. Ensure you have a working Internet connection and access to the repositories. If you do not, STOP!

    apt-get update

    The following command will completely remove grub-pc and grub-common. In GRUB 1.99 and later, grub-gfxpayload-lists will also be removed.

        You will be warned you are removing the bootloader. TAB to OK and press ENTER.

    apt-get purge grub-common

    Reinstall GRUB 2. When you run the following command:
        You will be given the opportunity to add kernel options. TAB to OK. You will be given the opportunity to select the devices/drives on which to install GRUB 2. Select the appropriate drive(s) with the SPACEBAR. Normally you do NOT want to select any partitions. TAB to OK after selecting the drive(s), then press ENTER.

    apt-get install grub-pc

    If using the ChRoot procedure, Exit chroot then continue the ChRoot procedure at Step 13:


12
Advanced Topics / Re: Broken Grub on Pep9
« on: May 26, 2020, 04:54:15 pm »
Yet. It's a Dell, which used to be a point of pride, but this is really stripped down model.

Sure the best solution is always to burn your money for light to find the buried treasure. Ha ha. I have never done that, you can always find some way to fix or clean computers.

 I know my partitioning layout, have a pic of it on desktop. Pep's on p12, Ubuntu on p10, Win10 on p3. What's a terminal command to tell me what Kernels I have, what's installed, or how to remove, or completely reinstall K -101. I've read a few things on it, surprised there isn't just a command to do it when you Boot from the original disc. One thing I find troubling is everything says Reinstalling DOES NOT remove or overwrite a corrupted files or parts of GRUB2. Then whats the point?

Thanks for replies.

13
Advanced Topics / Re: Broken Grub on Pep9
« on: May 26, 2020, 09:28:30 am »
I have SuperGrub, which can fix anything nonbooting (maybe with Legacy stuff), but I think this is some specific problem with Peppermint.  How do I completely reload the Peppermint GRUB from the Respin disk, or from the Web. Can't lose the cookies on an anonymous USB boot. Is Boot Repair on the Peppermint 9 Respin disc?

Nobody's got any other ideas, or had similar problems with the 4.15.0-101 Kernel, seems it might have something seriously wrong with it. Maybe it was stupid to use such a small OS, but I thought that was a benefit.

14
Advanced Topics / Re: Broken Grub on Pep9
« on: May 25, 2020, 07:31:14 am »
Triple boot with Ubuntu, but what exactly is Boot Repair- part of Peppermint or something else?  Boot from disc? I don't think this has anything to do with Windows- I think it got attacked during the Kernel installation, and something inserted; or it broke incredibly badly. How much of Grub is actually on Peppermint partition, and how much is on the beginning of C drive? Ubuntu seems to be OK (knock, knock).

15
Advanced Topics / Broken Grub on Pep9
« on: May 24, 2020, 07:21:36 pm »
Dear Pep jocks,   

    I seem to have been infected or damaged my Peppermint 9 GRUB,  during a kernel update (up to -101) which seemed to work OK... but after reboot didn't show 101 as a choice, then seemed to downgrade then delete Kernel 96, so only K-99 was still showing, also it changed GRUB to the Ubuntu version (also have Ubuntu 18.4 + and Win 10), and changed the Boot order to Ubuntu, Windows, Peppermint... whereas Pep was 1st before. I booted into Repair mode and updated GRUB (2 or 3 times)- again it found + listed the 101 Kernel, but again it didn't show up on a reboot; I reinstalled all 4 pieces of the 101K in Synaptic, which didn't help.

This behavior extended into the Ubuntu 18.4, which seemed to downgrade,  the 4.18.0-24 Kernel (also has -25, but still boots -24). Then Firefox got attacked, showing only the left half of the screen, until I cleaned the drive with Bleachbit (which I usually do everytime I close it). Tried scanning everything with CLAM from Ubuntu, Ubuntu + Peppermint seemed clean, but how do I force it to check GRUB? I had put an Admin password on lappy (for Setup/Bios), a Dell Inspiron 15-3567-5664 (8gb RAM,2.8Ghz,i5 dual core); I think after the problem started, then removed it. Secure Boot is still off- had a problem w it getting turned on by Win 10 Version Update- did all the Win 10 Uodates (3 months) after this started, seemed to have no problems with Windows 

I was using tethered mobile Internet for the 20% crucial stuff, but I am in an extreme threat environment, crummy password WiFi in an apartment complex a in bad hacker place, and desperately need to do banking (which only did from Pep).. so plz help. How do I wipe and reinstall GRUB (from Pep 9, maybe DVD), and what else do you suggest? Oh, Is there one repository for all Peppermint Terminal commands? Thanks.


Pages: [1] 2