龙芯版没有启动菜单
Tofloor
poster avatar
152******88
deepin
2017-09-08 18:54
Author
deepin龙芯3A3000版装了两个系统,现在想要deepin默认启动,居然不像368的版本里在控制中心有启动菜单,打开/etc/default/grub和 /boot/grub/grub.cfg也是空的,请问是怎么回事,要怎么改呢
Reply Favorite View the author
All Replies
avatar
ddb_01
deepin
2017-09-08 19:00
#1
固件是pmon还是昆仑?pmon就编辑/boot/boot.cfg文件,把两个系统的引导信息写到同一个boot.cfg文件中。昆仑固件的机器没用过,就不知道了。
Reply View the author
avatar
152******88
deepin
2017-10-11 19:23
#2
https://bbs.deepin.org/post/145210
固件是pmon还是昆仑?pmon就编辑/boot/boot.cfg文件,把两个系统的引导信息写到同一个boot.cfg文件中。昆仑 ...

应该是pmon
请问一下我原来装的deepin昨天装了一个龙芯的loongson在乘下的分区里,可以开机没有loongson的启动项。还是只有deepin的一个启动项,请教一下怎么能启动loongson系统。
这是现在我的分区结构:






loongson安装在sda2
UUID:2ce814b7-1657-4794-a8e9-ca864ba5ad4d
现在的boot.cfg如下、并是只读的,改不了只读属性:
default 0
timeout 5
showmenu 1

title Deepin 15.4.1 mips64el for Loongson 3A3000(4.4.32)
    initrd /dev/fs/ext2@wd0/initrd.img-4.4.32-1-loongson-3
    kernel /dev/fs/ext2@wd0/vmlinux-4.4.32-1-loongson-3
    args console=tty loglevel=0 splash locale=zh_CN.UTF-8      root=UUID=75fef954-e113-4958-9e30-edd46c0f070e   


请指教
Reply View the author
avatar
ddb_01
deepin
2017-10-12 06:24
#3
https://bbs.deepin.org/post/145210
应该是pmon
请问一下我原来装的deepin昨天装了一个龙芯的loongson在乘下的分区里,可以开机没有loongson ...

用root权限打开boot.cfg文件编辑。加上这个,应该就可以了。
title Loongnix
        kernel (wd0,0)/vmlinuz-3.10.84    #loongnix内核文件,根据你的情况修改
        initrd (wd0,0)/initramfs-3.10.84    #loongnix initramfs文件,根据你的情况修改
        args  root=UUID=2ce814b7-1657-4794-a8e9-ca864ba5ad4d ro rhgb quiet loglevel=0 LANG=zh_CN.UTF-8
Reply View the author
avatar
fjbai901124
deepin
2017-10-12 06:46
#4
老乡会玩
Reply View the author
avatar
152******88
deepin
2017-10-12 22:21
#5
本帖最后由 wzkjzx 于 2017-10-12 14:23 编辑
https://bbs.deepin.org/post/145210
用root权限打开boot.cfg文件编辑。加上这个,应该就可以了。
title Loongnix
        kernel (wd0,0)/vmlinuz-3. ...

还是不行呢,请指教一下,我现在的boot.cfg文件如下:
title Deepin 15.4.1 mips64el for Loongson 3A3000(4.4.32)
    initrd /dev/fs/ext2@wd0/initrd.img-4.4.32-1-loongson-3
    kernel /dev/fs/ext2@wd0/vmlinux-4.4.32-1-loongson-3
    args console=tty loglevel=0 splash locale=zh_CN.UTF-8      root=UUID=75fef954-e113-4958-9e30-edd46c0f070e   
title Loongnix
    kernel (wd0,0)/vmlinuz-3.10.84-16.fc21.loongson.mips64el
    initrd (wd0,0)/initramfs-3.10.84-16.fc21.loongson.mips64el.img
    args  root=UUID=2ce814b7-1657-4794-a8e9-ca864ba5ad4d ro rhgb quiet loglevel=0 LANG=zh_CN.UTF-8

启动后选择loongnix启动后




请问是什么原因呢?我龙芯系统安装在第四个分区,里边的文件是这样


请指教。
Reply View the author
avatar
152******88
deepin
2017-10-12 22:23
#6

老乡呀,你只会看笑话呢,我对这个linux一点不懂,用这CPU头痛你都不指导一下
Reply View the author
avatar
ddb_01
deepin
2017-10-13 02:57
#7
https://bbs.deepin.org/post/145210
还是不行呢,请指教一下,我现在的boot.cfg文件如下:
title Deepin 15.4.1 mips64el for Loongson 3A3000 ...

loongnix的/boot目录是在第四分区的吗?
把(wd0,0)改成(wd0,3)试试。
我是让loongnix和deepin共用一个/boot分区的,就没想到这个。
Reply View the author
avatar
152******88
deepin
2017-10-16 02:39
#8
https://bbs.deepin.org/post/145210
loongnix的/boot目录是在第四分区的吗?
把(wd0,0)改成(wd0,3)试试。
我是让loongnix和deepin共用一个/bo ...

都试过了还是不行,我今天直接分区掉先装loongson系统,然后再安装deepin,安装完直接只有一个deepin了,loongson的分区和数据都在,就是没有引导。
Reply View the author
avatar
ddb_01
deepin
2017-10-16 06:07
#9
https://bbs.deepin.org/post/145210
都试过了还是不行,我今天直接分区掉先装loongson系统,然后再安装deepin,安装完直接只有一个deepin了, ...

我是让loongnix和deepin共用一个/boot分区的,要注意备份相关的文件。
装好后还要修改boot.cfg文件。我的boot.cfg文件的写法是这样的:
timeout 5
default 0
showmenu 1

title Loongnix
        kernel (wd0,0)/vmlinuz-3.10.84-16.fc21.loongson.1.mips64el
        initrd (wd0,0)/initramfs-3.10.84-16.fc21.loongson.1.mips64el.img
        args  root=UUID=(loongnix分区UUID) ro rhgb quiet loglevel=0 LANG=zh_CN.UTF-8

title Deepin 15.4.1
        initrd /dev/fs/ext2@wd0/initrd.img-4.4.32-1-loongson-3
        kernel /dev/fs/ext2@wd0/vmlinux-4.4.32-1-loongson-3
        args root=UUID=(deepin分区UUID) console=tty loglevel=0 splash locale=zh_CN.UTF-8
Reply View the author
avatar
152******88
deepin
2017-10-20 06:10
#10
谢谢,搞定了,主要是要备份每个系统里/boot分区里的文件,
Reply View the author