普通とか自由って何ぞや、そして・・・

BlogのLinuxタグ

Grub2の設定更新

Fedora、openSUSE
grub2-mkconfig -o /boot/grub2/grub.cfg
Ubuntu
update-grub
  • grub2-mkconfig -o /boot/grub2/grub.cfg と同じ事をしている。

設定ファイル:/etc/default/grub
ブートメニューの表示のために次の2つをコメントアウト。
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
Android x86 の GRUB を使う場合
  • Android x86
Debug mode で起動
# mount -o rw,remount /mnt
# vi /mnt/grub/menu.lst
default=0
timeout=5
root (hd0,12)
splashimage=/grub/android-x86.xpm.gz

title MeeGo 1.2
   root (hd0,4)
   kernel /vmlinuz-3.0.0-13.1-adaptation-pc quiet root=/dev/sda7

title Memo Mobile
   root (hd0,13)
   kernel /vmlinuz-3.0.0-1.7-adaptation-pc quiet root=/dev/sda15

title ArCom IVI
   root (hd0,4)
   kernel /vmlinuz-2.6.37.6-13.10-adaptation-intel-automotive root=/dev/sda9
title MeeGo Tablet 1.2.1
   root (hd0,4)
   kernel /vmlinuz-2.6.38.2-8.26-adaptation-pinetrail quiet root=/dev/sda10
title Plasma Active One MeeGo
   root (hd0,4)
   kernel /vmlinuz-2.6.38.2-8.26-adaptation-pinetrail quiet root=/dev/sda11

title Android-x86 2012-01-01
   kernel /android-2012-01-01/kernel quiet root=/dev/ram0 androidboot.hardware=tegav2 acpi_sleep=s3_bios,s3_mode SRC=/android-2012-01-01
   initrd /android-2012-01-01/initrd.img

title Android-x86 2012-01-01 (Debug mode)
   kernel /android-2012-01-01/kernel root=/dev/ram0 androidboot.hardware=tegav2 acpi_sleep=s3_bios,s3_mode DEBUG=1 SRC=/android-2012-01-01
   initrd /android-2012-01-01/initrd.img

title Windows 8 Developer Preview
   rootnoverify (hd0,0)
   chainloader +1
MeeGo、MerのEXTLINUXを使う場合
MeeGo 1.2、Mer の多重構成。
Android x86 は、MeeGo 1.2 の /boot 以下に配置。

  • MeeGo 1.2
# vim /boot/extlinux/extlinux.conf
# extlinux.conf generated by anaconda

prompt 0
timeout 10

default vesamenu.c32
menu autoboot Starting MeeGo...
#menu hidden

menu resolution 1366 768
menu background splash.jpg
menu title Welcome to MeeGo!
menu color border 0 #ffffffff #00000000
menu color sel 7 #ffffffff #ff000000
menu color title 0 #ffffffff #00000000
menu color tabmsg 0 #ffffffff #00000000
menu color unsel 0 #ffffffff #00000000
menu color hotsel 0 #ff000000 #ffffffff
menu color hotkey 7 #ffffffff #ff000000
menu color timeout_msg 0 #ffffffff #00000000
menu color timeout 0 #ffffffff #00000000
menu color cmdline 0 #ffffffff #00000000

label merboot
	menu label Mer Bootloader
	kernel chain.c32
	append boot 12
	menu default

label mer
	menu label Mer (3.0.0-1.8-adaptation-pc)
	kernel vmlinuz-3.0.0-1.8-adaptation-pc
	append ro root=/dev/sda7 quiet vga=current
	
label nemoandplasma
	menu label Nemo Mobile and Plasma Active (3.0.0-1.8-adaptation-pc)
	kernel vmlinuz-3.0.0-1.8-adaptation-pc
        append ro root=/dev/sda8 quiet vga=current

label meego12pc51
	menu label MeeGo 1.2.0 Netbook and IVI (3.0.0-5.1-adaptation-pc)
	kernel vmlinuz-3.0.0-5.1-adaptation-pc
	append ro root=/dev/sda5 quiet vga=current

label meego121tabletpc
	menu label MeeGo 1.2.1 Tablet (3.0.0-13.1-adaptation-pc)
	kernel vmlinuz-3.0.0-13.1-adaptation-pc
	append ro root=/dev/sda9 quiet vga=current

label meego121tabletpine
	menu label MeeGo 1.2.1 Tablet (2.6.38.2-8.26-adaptation-pinetrail)
	kernel vmlinuz-2.6.38.2-8.26-adaptation-pinetrail
	append ro root=/dev/sda9 quiet vga=current

label arcomivi
	menu label ArCom IVI (2.6.37.6-13.10-adaptation-intel-automotive)
	kernel vmlinuz-2.6.37.6-13.10-adaptation-intel-automotive
	append ro root=/dev/sda10 quiet vga=current

label androidx8640rc1
       menu label Android x86 4.0 RC1
       kernel /android-4.0-RC1/kernel quiet root=/dev/ram0 androidboot.hardware=tegav2 SRC=/android-4.0-RC1
       append initrd=/android-4.0-RC1/initrd.img

label androidx8640devel
       menu label Android x86 4.0 Devel
       kernel /android-2012-01-01/kernel quiet root=/dev/ram0 androidboot.hardware=tegav2 SRC=/android-2012-01-01
       append initrd=/android-2012-01-01/initrd.img

label androidx8632rc2
       menu label Android x86 3.2 RC2
       kernel /android-2011-11-13/kernel quiet root=/dev/ram0 androidboot.hardware=tegav2 SRC=/android-2011-11-13
       append initrd=/android-2011-11-13/initrd.img

label androidx8623rc1
       menu label Android x86 2.3 RC1
       kernel /android-2.3-RC1/kernel quiet root=/dev/ram0 androidboot.hardware=tegav2 SRC=/android-2.3-RC1
       append initrd=/android-2.3-RC1/initrd.img

label androidx8622r2
       menu label Android x86 2.2-r2
       kernel /android-2.2.2/kernel quiet root=/dev/ram0 androidboot.hardware=tegav2 SRC=/android-2.2.2
       append initrd=/android-2.2.2/initrd.img

label androidx8616r2
       menu label Android x86 1.6-r2
       kernel /android-1.6-r2/kernel quiet root=/dev/ram0 SRC=/android-1.6-r2
       append initrd=/android-1.6-r2/initrd.img

label windows8
	menu label Windows 8
	kernel chain.c32
	append boot 1

label merboot
	menu label Mer Bootloader
	kernel chain.c32
	append boot 12
  • Mer
# vim /boot/extlinux/extlinux.conf
# extlinux.conf - generated by installer-shell

prompt 0
timeout 10
default vesamenu.c32

menu autoboot Starting Mer...
#menu hidden
menu background splash.jpg
menu title Welcome to Mer!
menu color border      0 #ffffffff #00000000
menu color sel         7 #ffffffff #ff000000
menu color title       0 #ffffffff #00000000
menu color tabmsg      0 #ffffffff #00000000
menu color unsel       0 #ffffffff #00000000
menu color hotsel      0 #ff000000 #ffffffff
menu color hotkey      7 #ffffffff #ff000000
menu color timeout_msg 0 #ffffffff #00000000
menu color timeout     0 #ffffffff #00000000
menu color cmdline     0 #ffffffff #00000000

label meegoboot
	menu label MeeGo Bootloader
	kernel chain.c32
	append boot 6

label mernext15
        menu label Mer next (3.0.0-1.5-adaptation-pc)
        kernel vmlinuz-3.0.0-1.5-adaptation-pc
        append ro root=/dev/sda13 quiet vga=current

label mernext14
        menu label Mer next (3.0.0-1.4-adaptation-pc)
        kernel vmlinuz-3.0.0-1.4-adaptation-pc
        append ro root=/dev/sda13 quiet vga=current

label windows8
	menu label Windows 8
	kernel chain.c32
	append boot 1

label meegoboot
	menu label MeeGo Bootloader
	kernel chain.c32
	append boot 6
タグ

パーツ

管理人/副管理人のみ編集できます