Opções de Boot no Grub2



Ajustar opções do Grub2

link: http://ubuntuforums.org/showthread.php?t=1195275
Altere algumas opções com o comando:
sudo nano /etc/default/grub
#GRUB_HIDDEN_TIMEOUT=5
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=10

Comando para atualizar:
sudo update-grub

Utilizando o GPARTED LIVE com o grub2

Como alternativa voce pode utilizar uma interface gráfica para criar partições, criar RAID e formatar os discos.
Baixe o ISO do link: http://sourceforge.net/projects/gparted/files/gparted-live-stable/0.7.0-4/gparted-live-0.7.0-4.iso/download
cd /boot/
sudo mkdir gparted
cd /boot/gparted
wget http://sourceforge.net/projects/gparted/files/gparted-live-stable/OldFiles/0.5.2-9/gparted-live-0.5.2-9.iso

Depois modifique o arquivo do Grub2:
sudo nano /etc/grub.d/40_custom
menuentry "Gparted Live" {
set isofile="/boot/gparted/gparted-live-0.5.2-9.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz1 boot=live union=aufs noswap noprompt vga=788 ip=frommedia toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd1.img
}

Atualize com o comando:
update-grub2

Utilizando o grml com o grub2


link: http://grml.org/
link para grml e grub2: http://michael-prokop.at/blog/2009/05/25/boot-an-iso-via-grub2/

Comandos para executar:
cd /boot/
sudo mkdir grml
cd /boot/grml
wget http://ftp.uni-erlangen.de/pub/mirrors/grml//grml_2010.04.iso
sudo nano /etc/grub.d/40_custom
menuentry "grml rescue system" {
loopback loop /boot/grml/grml_2010.04.iso
linux (loop)/boot/grml/linux26 findiso=/boot/grml/grml_2010.04.iso apm=power-off lang=us vga=791 boot=live nomce noeject noprompt --
initrd (loop)/boot/grml/initrd.gz
}


Várias opções de Boot


Veja estas opções abaixo:
sudo nano /etc/grub.d/40_custom
menuentry "Ubuntu Live 9.10 32bit" {
loopback loop
/boot/iso/ubuntu-9.10-desktop-i386.iso
linux
(loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu-9.10-desktop-i386.iso noeject noprompt --
initrd
(loop)/casper/initrd.lz
}
 
menuentry
"Ubuntu Live 9.10 64bit" {
loopback loop
/boot/iso/ubuntu-9.10-desktop-amd64.iso
linux
(loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu-9.10-desktop-amd64.iso noeject noprompt --
initrd
(loop)/casper/initrd.lz
}
 
menuentry
"Grml small 2009.10" {
loopback loop
/boot/iso/grml-small_2009.10.iso
linux
(loop)/boot/grmlsmall/linux26 findiso=/boot/iso/grml-small_2009.10.iso apm=power-off lang=us vga=791 boot=live nomce noeject noprompt --
initrd
(loop)/boot/grmlsmall/initrd.gz
}
 
menuentry
"tinycore" {
loopback loop
/boot/iso/tinycore_2.3.1.iso
linux
(loop)/boot/bzImage --
initrd
(loop)/boot/tinycore.gz
}
 
menuentry
"Netinstall 32 preseed" {
loopback loop
/boot/iso/mini.iso
linux
(loop)/linux auto url=http://www.panticz.de/pxe/preseed/preseed.seed locale=en_US console-setup/layoutcode=de netcfg/choose_interface=eth0 debconf/priority=critical --
initrd
(loop)/initrd.gz
}
 
menuentry
"debian-installer-amd64.iso" {
loopback loop
/boot/iso/debian-installer-amd64.iso
linux
(loop)/linux vga=normal --
initrd
(loop)/initrd.gz
}
 
menuentry
"BackTrack 4" {
linux
/boot/bt4/boot/vmlinuz BOOT=casper boot=casper nopersistent rw vga=0x317 --
initrd
/boot/bt4/boot/initrd.gz
}
 
menuentry
"Memory test (memtest86+)" {
linux16
/boot/img/memtest86+.bin
}
 
menuentry
"BackTrack ERR" {
loopback loop
/boot/iso/bt4-pre-final.iso
linux
(loop)/boot/vmlinuz find_iso/filename=/boot/iso/bt4-pre-final.iso BOOT=casper boot=casper nopersistent rw vga=0x317--
initrd
(loop)/boot/initrd.gz
}
 
menuentry
"XBMC ERR" {
loopback loop
/boot/iso/XBMCLive.iso
linux
(loop)/vmlinuz boot=cd isofrom=/dev/sda1/boot/iso/XBMCLive.iso xbmc=nvidia,nodiskmount,tempfs,setvolume loglevel=0 --
initrd
(loop)/initrd0.img
}
 
menuentry
"netboot.me" {
loopback loop
/boot/iso/netbootme.iso
linux16
(loop)/GPXE.KRN
}
 
menuentry
"debian installer amd64 netboot XEN pressed" {
linux
/boot/debian/linux auto preseed/url=http://www.panticz.de/pxe/preseed/xen.seed locale=en_US console-setup/layoutcode=de netcfg/choose_interface=eth0 debconf/priority=critical --
initrd
/boot/debian/initrd.gz
}

menuentry "Ubuntu Live 32bit" {
loopback loop
/boot/ubuntu-live-desktop-i386.iso
linux
(loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/ubuntu-live-desktop-i386.iso noeject noprompt --
initrd
(loop)/casper/initrd.lz
}

menuentry "debian-502-amd64-netinst.iso" {
loopback loop
/boot/iso/debian-502-amd64-netinst.iso
linux
(loop)/install.amd/vmlinuz vga=normal --
initrd
(loop)/install.amd/initrd.gz
}
 
menuentry
"debian installer amd64 netboot" {
linux
/boot/debian/linux auto=true priority=critical vga=normal --
initrd
/boot/debian/initrd.gz
}

sudo wget http://releases.ubuntu.com/10.10/ubuntu-10.10-desktop-i386.iso -P /boot/ubuntu-10.10-desktop-i386.iso 
wget http://ftp.uni-kl.de/pub/linux/ubuntu.iso/9.10/ubuntu-9.10-desktop-i386.iso -P /mnt/boot/iso 
wget http://ftp.uni-kl.de/pub/linux/ubuntu.iso/9.10/ubuntu-9.10-desktop-amd64.iso -P /mnt/boot/iso 
wget http://grml.deb.at/grml-small_2009.10.iso -P /mnt/boot/iso 
wget http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/tinycore_2.3.1.iso -P /mnt/boot/iso wget http://archive.ubuntu.com/ubuntu/dists/jaunty/main/installer-i386/current/images/netboot/mini.iso -P /mnt/boot/iso 
wget http://ftp.debian.org/debian/dists/etch/main/installer-amd64/current/images/netboot/mini.iso -O /mnt/boot/iso/debian-installer-amd64.iso 
wget http://static.netboot.me/gpxe/netbootme.iso -P /mnt/boot/iso
wget http://cdimage.debian.org/debian-cd/5.0.2/amd64/iso-cd/debian-502-amd64-netinst.iso
wget http://ftp.de.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz -O initrd.gz 
wget http://ftp.de.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux -O linux

Comments