grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub saved my Laptop, and made it usable. so i wanted to say thanks


From: Vladimir 'phcoder' Serbinenko
Subject: Re: Grub saved my Laptop, and made it usable. so i wanted to say thanks to everybody that worked on it.
Date: Mon, 7 Nov 2022 04:41:40 +0100

On Mon, Nov 7, 2022 at 2:54 AM James Wabi <imitomx1978@gmail.com> wrote:
>
> Hi Vladimir
> thank you for your response,
>
> I managed to follow this guide from start to end, and i have a bootable USB 
> flash drive with grub and also with the ubuntu.iso in it, just like you 
> explained.
> tutorial:  
> https://www.pendrivelinux.com/install-grub2-on-usb-from-ubuntu-linux/
>
> Inside my usb flash drive, the contents on the boot/grub/grub.cfg are:
> --------------
>
> # This Menu entry brought to you courtesy of 
> https://www.pendrivelinux.com/install-grub2-on-usb-from-ubuntu-linux/
> set timeout=10
> set default=0
>
> menuentry "Run Ubuntu Live ISO" {
>  loopback loop /ubuntu.iso
>  linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu.iso splash 
> --
>  initrd (loop)/casper/initrd
> }
>
> --------------
> Now my quesiton is, where should i add this line?:
> memmap=8K\\\$0x00000005A00C000,4K\\\$0x00000005A00E000,8K\\\$0x00000005C00C000,4K\\\$0x00000005C00E000
>
>
> That line above is the fix for my memory in grub.cfg but i donĀ“t know where 
> to put it.
>
> On a pc where linux has already been installed into the hard drive, the line 
> would look something similar to this:
>
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash 
> memmap=8K\\\$0x00000005A00C000,4K\\\$0x00000005A00E000,8K\\\$0x00000005C00C000,4K\\\$0x00000005C00E000"
>

Well this option is not a GRUB command at all and has nothing to do
with similarly named GRUB facility that can be used to achieve the
same result.

This is a linux option that you need to add to the end of linux line
>
> But on bootable live flashdrive in boot/grub/grub.cfg im not sure how i am 
> supposed to add it.
>
> do you know?
> thanks
>
>
> On Sun, Nov 6, 2022 at 6:09 PM Vladimir 'phcoder' Serbinenko 
> <phcoder@gmail.com> wrote:
>>
>> Thank you a lot for this feedback. For LiveUSB: put original iso as a
>> file then install GRUB on the USB and put in boot/grub/grub.cfg:
>> memmap ...
>>
>> menuentry "My Live USB" {
>>   iso_path=<My ISO>
>>   export iso_path
>>   loopback loop $iso_path
>>   root=loop
>>   configfile /boog/grub/loopback.cfg
>> }
>>
>> The config is of the top of my head, might need some corrections. If
>> so please let me know and post them back for others
>>
>> On Sun, Nov 6, 2022 at 9:58 PM James Wabi <imitomx1978@gmail.com> wrote:
>> >
>> > Hi.
>> >
>> > Thanks you all developers that workd on Grub. With grub and the Badram and 
>> > Memmap command i was able to fix my Laptop with bad/broken soldered ram 
>> > memory in the motherboard.
>> > Actually "memmap" was the one that worked, which reserved specific memory 
>> > address making the OS bootable and stable.
>> >
>> > The catch was to install linux on a good working PC and edit the cfg 
>> > /etc/default/grub  to include some specific memmap lines for the memory 
>> > addresses that needed to be blocked, then transfer the hard drive to the 
>> > broken memory laptop. This fixed everything. and the laptop has been 
>> > running perfectly.
>> >
>> > I have not found a way, and there is no information online, if this is 
>> > possible to do with a LIVE linux USB flash drive. As soon as you boot from 
>> > a live USB flashdrive, the machine starts to use bad broken soldered 
>> > memory. And i wish there was a way to edit the live usb boot flash drive 
>> > so it has edited GRUB memmap commands  in order to boot with the USB live 
>> > linux and blocking that memory address.
>> >
>> > I have read i should prepare the live-usb flashdrive with rufus, but the 
>> > files are completely different from what you do with a linux that is 
>> > already installed on a hard drive  and changing /etc/default/grub cfg
>> >
>> > If this can be done in the future it would really help, to most of us that 
>> > have bad soldered memory on the motherboard. Would be nice to live boot a 
>> > linux and block some memory addresses.
>> >
>> > thanks!
>> >
>> >
>> > _______________________________________________
>> > Grub-devel mailing list
>> > Grub-devel@gnu.org
>> > https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>
>>
>> --
>> Regards
>> Vladimir 'phcoder' Serbinenko
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel



-- 
Regards
Vladimir 'phcoder' Serbinenko



reply via email to

[Prev in Thread] Current Thread [Next in Thread]