grub2 grub.cfg

페이지 정보

작성자 조희승 댓글 0건 조회 4,308회 작성일 16-05-15 15:48

본문

* hd 시작은 0부터, 파티션 시작은 1부터
  sda2 = hd0,2

-----------

set default=1

timeout=5

menuentry "0 sdc2 4.4.0-21-generic " {
    set root=hd0,2
    linux /boot/vmlinuz-4.4.0-21-generic root=/dev/sdc2 net.ifnames=0 biosdevname=0
    initrd /boot/initrd.img-4.4.0-21-generic
}

menuentry "1 sdc2 4.5.4 " {
    set root=hd0,2
    linux /boot/vmlinuz-4.5.4 root=/dev/sdc2 net.ifnames=0 biosdevname=0
    initrd /boot/initrd.img-4.5.4
}



-----------------------------

set default=0

timeout=4

# base
menuentry "0 nvme0n1p3 " {
    set    root=hd1,gpt2  --------------->> /boot partition
    linux  /vmlinuz root=/dev/nvme0n1p3 ro 
    initrd /initrd.img
}

# miningcore
menuentry "1 nvme0n1p4 " {
    set    root=hd1,gpt2
    linux  /vmlinuz root=/dev/nvme0n1p4 ro 
    initrd /initrd.img
}

댓글목록

등록된 댓글이 없습니다.