BOOT SIMPLIFIED - EXTLINUX

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

 



BOOT SIMPLIFIED - EXTLINUX

BIOS - MBR - 1.PART=SWAP - 2.PART=BOOT(EXT4) - 3.PART=/(EXT4)

# fdisk -l /dev/sda
…
Disklabel type: dos
…
Device    Boot  …  Id System
/dev/sda1       …  82 Linux swap
/dev/sda2 *     …  83 Linux => boot
/dev/sda3       …  83 Linux => /

# cat /etc/fstab
UUID=…                                    swap    swap …
UUID=…                                    /boot   ext4 …
UUID=12345678-1234-1234-1234-123456789abc /       ext4 …

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# yum install syslinux-extlinux

# cat /boot/extlinux/extlinux.conf
ui menu.c32
menu title EXTLINUX FEDORA 20
timeout 50

label Fedora 20 3.12.5-302.fc20.x86_64
  kernel /vmlinuz-3.12.5-302.fc20.x86_64
  append root=UUID=12345678-1234-1234-1234-123456789abc OPTION1 …
  initrd /initramfs-3.12.5-302.fc20.x86_64.img

# sfdisk --activate=2 /dev/sda

# extlinux --install /boot/extlinux

# cat /usr/share/syslinux/mbr.bin > /dev/sda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://git.kernel.org/cgit/boot/syslinux/syslinux.git/plain/doc/extlinux.txt?id=syslinux-4.07

Et voilà.


poma


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux