广西福彩网

<code id="ozbej"><rt id="ozbej"></rt></code>
    1. <acronym id="ozbej"></acronym>
      <label id="ozbej"><legend id="ozbej"></legend></label>

            <code id="ozbej"></code>
          1. Fresh Install of Manjaro 20 Gnome Kernel Panic Solved

            Alexzee

            Well-Known Member
            Credits
            1,066
            I just performed a fresh installation of Manjaro 20 Gnome and I've got the dreeded:
            Kernel panic - not syncing VFS: Unable to mount root fs.

            I found a temporary fix by editing the kernel line by pressing 'e' at the grub menu and removing the intel-ucode.img and replacing it with /initrd /boot/initramfs-(manjaro's kernel image) -x86_64.img.

            Anyone know how I can permanently fix this so I don't have to keep editing the kernel line?
             


            Alexzee

            Well-Known Member
            Credits
            1,066
            Sudo update-grub
            I tried that and rebooted. That didn't work.
            Upon reboot I still have 'kernel panic'.
            So I rebooted again and pressed 'e' to edit the kernel line hit F10 and was able to boot into Manjaro.

            What grub config file do I have to edit to make the kernel line permanent?
             

            Alexzee

            Well-Known Member
            Credits
            1,066
            Here's a pic of the kernel line that I have to keep editing every time I boot my pc.

            See where it says initrd /boot/initramfs-5.6-x86_64.img--
            I have to keep typing in by backspacing over the words " intel-ucode.img" in order for Manjaro to boot.

            0428201803.jpg
             

            Peer

            Well-Known Member
            Credits
            280
            You may edit the /etc/default/grub file and then do sudo grub-mkconfig - o /boot/grub/grub.cfg
             

            wizardfromoz

            Super Moderator
            Staff member
            Gold Supporter
            Credits
            831
            won't work, peer, sorry

            sudo grub-mkconfig - o /boot/grub/grub.cfg

            and

            sudo update-grub

            are effectively one and the same

            update-grub is simply a stub (like a shortcut) for the full command.

            alex - it is fundamentally a part of manjaro that they load intel-ucode before they load initrd/initramfs, and that can cause problems with other distros, but usually in a dual-boot or multi-boot situation.

            i have 20 GNOME on board, but it was originally one of the 17's or 18's and has just rolled to 20, may be a little different.

            i'm running updates and timeshift on elementary juno now, but when finished can look further into it.

            questions

            1. are you running any other OSes on that rig, if so, which?

            2. what is your communication line to us, another pc or other means?

            chris
             

            Alexzee

            Well-Known Member
            Credits
            1,066
            won't work, peer, sorry

            sudo grub-mkconfig - o /boot/grub/grub.cfg

            and

            sudo update-grub

            are effectively one and the same

            update-grub is simply a stub (like a shortcut) for the full command.

            alex - it is fundamentally a part of manjaro that they load intel-ucode before they load initrd/initramfs, and that can cause problems with other distros, but usually in a dual-boot or multi-boot situation.

            i have 20 GNOME on board, but it was originally one of the 17's or 18's and has just rolled to 20, may be a little different.

            i'm running updates and timeshift on elementary juno now, but when finished can look further into it.

            questions

            1. are you running any other OSes on that rig, if so, which?

            2. what is your communication line to us, another pc or other means?

            chris
            Yes I'm running 2 other distro's on this rig.
            I've got Linux Mint 19.3 XFCE on the nvme and Debian 10 Buster Mate on the 1 TB Seagate.

            Manjaro is installed to my 500 GB WD.

            I use this rig to chat with you here at Linux.org.
             

            wizardfromoz

            Super Moderator
            Staff member
            Gold Supporter
            Credits
            831
            i'm just going to slip into my Manjaro GNOME for a reference point, run updates and a Timeshift snapshot and i'll be back, plus i can hear my girl stirring so have to buy her a cuppa tea so she is not a linux widow.

            but if you had Buster and Tricia on first and then added MJRO, i can likely fast-track us.

            which has the primary partition, that is, top of the grub menu?

            chris
             
            Last edited:

            Alexzee

            Well-Known Member
            Credits
            1,066
            i'm just going to slip into my Manjaro GNOME for a reference point, run updates and a Timeshift snapshot and i'll be back, plus i can hear my girl stirring so have to buy her a cuppa tea so she is not a linux widow.

            but if you had Buster and Tricia on first and then added MJRO, i can likely fast-track us.

            which has the primary partition, that is, top of the grub menu?

            chris
            Linux Mint has the boot as it's at the top of the grub menu.
             
            Last edited by a moderator:

            Alexzee

            Well-Known Member
            Credits
            1,066
            Mint and Debian have been running great for the last several months.
            Parrot became unstable so I installed Manjaro.

            Is it just me or this is a fight over which distro has the top priority over the grub bootloader?

            bb later gotta fire up the grill:-
             

            Alexzee

            Well-Known Member
            Credits
            1,066
            @wizard,

            Is editing the /boot/grub/grub.cfg file a bad idea?
             

            wizardfromoz

            Super Moderator
            Staff member
            Gold Supporter
            Credits
            831
            ...this is a fight over which distro has the top priority over the grub bootloader?
            it would seem that way, like a pissing match, but it has been that way for years.

            Is editing the /boot/grub/grub.cfg file a bad idea?
            yes and no, ie how long is a piece of string? :)

            up to 4 - 5 years ago, we could not even edit it, and a legacy of that is that

            DO NOT EDIT THIS FILE
            #
            # It is automatically generated by grub-mkconfig using templates
            # from /etc/grub.d and settings from /etc/default/grub

            ... is at the top

            more in a minute or two

            wiz
             

            wizardfromoz

            Super Moderator
            Staff member
            Gold Supporter
            Credits
            831
            This might prove useful reading, https://linux.org/threads/manjaro-k...tips-for-arch-based-distros.19795/#post-58697

            ... was covering this issue with @Jeffrey Lapinski a bit over 18 months ago.

            i think i called the application of a

            custom.cfg

            a fix where it is really a workaround. as is the arcolinux method.

            nothing wrong with a workaround :), but the only real fix will be when the arch-based distros get their act together to share the top of the leaderboard.

            as well as Arcolinux, there are a number of Arch-based distros that share this problem.

            Archman, a Turkish offering, does not.

            Manjaro have

            [[email protected] ~]$ sudo update-grub
            [sudo] password for chris:
            Generating grub configuration file ...
            Found theme: /usr/share/grub/themes/manjaro/theme.txt
            Found linux image: /boot/vmlinuz-5.6-x86_64
            Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.6-x86_64.img
            Found initrd fallback image: /boot/initramfs-5.6-x86_64-fallback.img

            .... whereas

            Archman has no problem, because

            [[email protected] ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
            [sudo] password for chris:
            Generating grub configuration file ...
            Found background: /home/chris/Pictures/archman-manyas1.png
            Found linux image: /boot/vmlinuz-linux
            Found initrd image: /boot/initramfs-linux.img
            Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
            Found Debian GNU/Linux 10 (buster) on /dev/sda10
            ...


            noticeably absent is the ubiquitous intel-ucode microcode reference

            Manjaro Forum have this

            https://forum.manjaro.org/t/it-is-safe-to-delete-the-microcode/59729/3

            and that is worth reading from top to bottom, even though its OP is focussed on overclocking.

            Manjaro Forum's Goh Lip is the venerable fellow i got the custom.cfg tip from a few years ago.

            so i will be back with more, but for the moment, we can look at the Arcolinux option, and the custom.cfg option.

            with the custom.cfg option, it is simply a case of adding the file into /boot/grub for each of Buster and Tricia Xfce - no need to update grub, the lines will appear.

            then there is a 3rd option, and i will briefly describe that too.

            wiz
             
            Last edited:

            Alexzee

            Well-Known Member
            Credits
            1,066
            I read the thread with Jeffery Lapinski and that was good information so thank you for that.
            I'm not so sure I fully understand how to create the custom.cfg.
            I'll have to read the thread again and decide if that's what I want to do:-

            You said:
            but the only real fix will be when the arch-based distros get their act together to share the top of the leaderboard.
            I completely agree:-


            then there is a 3rd option, and i will briefly describe that too.

            Thanks Wizard-
            I'll wait to read about the 3rd option and make a decision from there.
             
            Last edited:

            Alexzee

            Well-Known Member
            Credits
            1,066
            Trying to fix Manjaro isn't something I really want too pursue now. However; I've got a plan-

            If I install Manjaro on my Sony Vaio it will be the only distro on the machine.
            This way there won't be any war over the bootloader.
            End of story:-:cool:
             

            wizardfromoz

            Super Moderator
            Staff member
            Gold Supporter
            Credits
            831
            hang on asecond if you haven't blown manjaro away
             

            wizardfromoz

            Super Moderator
            Staff member
            Gold Supporter
            Credits
            831
            create a file called custom.cfg, in your /boot/grub beside grub.cfg on tricia GNOME

            its only content is (substitute your own UUID from that screenshot, you can get it from gparted or blkid)

            Code:
            menuentry "Manjaro GNOME - configfile "  {
                insmod part_gpt
                part part_msdos
                insmod ext2
                search --no-floppy  --fs-uuid --set=root 58c5f278-e6b9-49cc-ab90-e100261da3c2
                configfile /boot/grub/grub.cfg
            }
            SAVE the file and reboot, you'll see the entry and it opens a new menu to manjaro

            wiz
             

            Alexzee

            Well-Known Member
            Credits
            1,066
            create a file called custom.cfg, in your /boot/grub beside grub.cfg on tricia GNOME

            its only content is (substitute your own UUID from that screenshot, you can get it from gparted or blkid)

            Code:
            menuentry "Manjaro GNOME - configfile "  {
                insmod part_gpt
                part part_msdos
                insmod ext2
                search --no-floppy  --fs-uuid --set=root 58c5f278-e6b9-49cc-ab90-e100261da3c2
                configfile /boot/grub/grub.cfg
            }
            SAVE the file and reboot, you'll see the entry and it opens a new menu to manjaro

            wiz
            I found and wrote down the uuid from blkid so that's done.

            I know how to create a file but I don't understand how to place it in the /boot/grub besides grub.cfg.
            Can you explain how to do it another way? Please-
             
            Last edited:

            wizardfromoz

            Super Moderator
            Staff member
            Gold Supporter
            Credits
            831
            say you write it in home, so it's something like

            /home/alex/custom.cfg

            then

            Code:
            sudo mv custom.cfg /boot/grub
            check your file manager, Thunar in Xfce, and you'll see it there.

            reboot the computer and bob's your uncle

            if you like the outcome, repeat the process in Buster, that way, whichever of the two is head of the leaderboard, manjaro boots.

            i'll show you a couple of pix of my setup, but don't wait up for them.

            cheers

            wiz
             


            Members online


            Top
            镇原| 苍山| 石河子| 莱州| 莒南| 罗定| 博湖| 拜泉| 清镇| 扶风| 遂溪| 塔中| 如东| 达川| 伊春| 清河| 上蔡| 柘城| 海盐| 清水| 湟源| 津南| 花都| 舟曲| 呼和浩特市郊区| 息烽| 枝江| 涪陵| 新县| 得荣| 紫阳| 镇海| 云霄| 紫云| 德江| 新兴| 广德| 周口| 兰考| 郯城| 瓦房店| 镇海| 台北县| 施甸| 公安| 新民| 大宁| 九江| 龙川| 盐亭| 象州| 梧州| 西丰| 石渠| 临安| 普兰| 额济纳旗| 米易| 韦州| 平江| 玉门镇| 安阳| 长沙| 黄骅| 紫云| 安化| 昆明| 静海| 梁山| 吉县| 三亚| 科尔沁左翼中旗| 原平| 隆化| 松原| 南通| 峰峰| 崇武| 饶阳| 沁县| 丹凤| 金堂| 榆树| 乾县| 正安| 安陆| 清流| 翁源| 沙雅| 永胜| 麻阳| 南昌县| 于田| 普宁| 澧县| 封丘| 遵义县| 寻乌| 大城| 黄冈| 宁洱| 肥城| 察布查尔| 五指山| 西林| 铁卜加| 梨树| 胡尔勒| 兴仁| 澧县| 栾川| 博乐| 大理| 铜川| 荥阳| 桑植| 辽阳| 高碑店| 静宁| 嘉兴| 江门| 天河| 普安| 襄阳| 夏津| 吐鲁番| 平泉| 遵义县| 临桂| 三峡| 松潘| 井陉| 怀柔| 宜城| 犍为| 阜城| 狮泉河| 容城| 灵璧| 景洪| 旬阳| 潢川| 喀什| 鄂托克旗| 吕梁| 兰西| 江门| 武夷山| 荔波| 内邱| 潢川| 纳溪| 狮泉河| 博湖| 汝城| 广汉| 凌海| 龙井| 鹤庆| 正定| 南宁城区| 呈贡| 绍兴| 周至| 安宁| 泾源| 徐家汇| 曲沃| 怒江| 五台山| 霸州| 武汉| 襄垣| 余江| 雅安| 杨凌| 即墨| 灵宝| 塔什库尔干| 化德| 孙吴| 扎赉特旗| 昌乐| 通化县| 留坝| 彭水| 会昌| 武义| 托勒| 独山| 闵行| 获嘉| 波阳| 鄂伦春旗| 保山| 玛沁| 苏州| 海南| 即墨| 秦皇岛| 周口| 吴起| 都兰| 定陶| 崇明| 江阴| 城口| 托勒| 会东| 昌都| 阿拉善右旗| 岚皋| 南安| 大余| 紫阳| 华山| 满洲里| 海渊| 嵩明| 株洲| 宜丰| 蔡家湖| 太湖| 来安| 溧水| 东吉屿| 焉耆| 金堂| 喀喇沁旗| 邻水| 青龙山| 黎平| 巴马| 安康| 小灶火| 马山| 新林| 硇洲| 巢湖| 利辛| 黑山头| 鲁甸| 资溪| 曲沃| 海丰| 布尔津| 定边| 瑞金| 伊春| 岚皋| 远安| 水城| 延庆| 四平| 葫芦岛| 宾阳| 肇东| 永胜| 安县| 黄梅| 麦盖提| 盐城| 保德| 兴文| 宜君| 乐安| 义县| 果洛| 凤山| 阳高| 甘谷| 新昌| 上高| 涟源| 福泉| 盐亭| 双柏| 盘县| 武义| 邹平| 喀什| 五原| 吉林| 永顺| 邹城| 奉贤| 伊宁| 会同| 清水河| 紫云| 穆棱| 高平| 昭苏| 禹州| 竹山| 隆德| 息县| 新泰| 千阳| 扎鲁特旗| 平遥| 开鲁| 威远| 泗水| 瑞丽| 库尔勒| 浩尔吐| 阿城| 德令哈| 依兰| 商河| 鼎新| 淮阴县| 河口| 十三间房气象站| 洛宁| 清流| 确山| 湟源| 新绛| 佛坪| 罗城| 新昌| 羊山| 武平| 莫力达瓦旗| 桓仁| 杭州| 田阳| 渭南| 明光| 翁源| 旅顺| 万荣| 莎车| 广饶| 新泰| 肃宁| 头道湖| 朔州| 洪洞| 台安| 浏阳| 镇巴| 惠来| 济宁| 兴国| 五台山| 万州天城| 嵊州| 饶河| 吴堡| 山丹| 资阳| 云澳| 饶阳| 汉阴| 延安| 抚宁| 涞源| 大足| 于都| 宜川| 乌拉盖| 同江| 宜昌县| 蓬莱| 乐平| 汤河口| 东安| 景县| 当雄| 乐平| 南充| 阆中| 澄江| 上川岛| 彰武| )| 永善| 乌审召| 绥芬河| 防城| 桐乡| 乌斯太| 嘉义| 大连| 舞钢| 上思| 开原| 永年| 榆中| 金坛| 兴山| 商城| 宜城| 塔城| 达拉特旗| 正镶白旗| 通什