GRUB - UBuntu 11.04 / Slack 13.37 [RESOLVIDO]

13. Re: GRUB - UBuntu 11.04 / Slack 13.37 [RESOLVIDO]

Henrique Nunes
Henriquenunnes

(usa Arch Linux)

Enviado em 29/11/2011 - 23:32h

Olá essa é a saída após o lilo:

bash-4.1# lilo
Added Slackware *
Added Ubuntu
Added Ruindows

Mas o Ubuntu não sobe... começa a carregar e trava...

Pergunta como seria o caminho para montar a partição do Ubuntu no lilo?

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda7
label = Slackware
read-only
# Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda6
#initrd = /boot/initrd.gz (Eu comentei com #, pois não sei como fazer, tentei fazer, mas sem sucesso).
label = Ubuntu
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Ruindows
table = /dev/sda
# Windows bootable partition config ends





  


14. Re: GRUB - UBuntu 11.04 / Slack 13.37 [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 30/11/2011 - 01:52h

Vc tem que colocar a partição do Ubuntu no fstab do Slack e usar a pasta do Slack como caminho para o lilo, assim:

image = /boot/vmlinuz
root = /dev/sda2
initrd = /caminho-no-fstab-do slack/boot/initrd.gz
label = Ubuntu
read-only

(Ubuntu "/" em sda2)

E o pulo do gato é linkar a imagem que vc quer bootar para initrd.gz (em /boot do Ubuntu):

sudo ln -s /boot/initrd.img.versão /boot/initrd.gz

Agora toda vez que houver update no Kernel do Ubuntu vc refaz o link, fazendo com que ele aponte para o Kernel mais novo.

Exemplo:

Ubuntu montado em /mnt/ubuntu no fstab do Slack:

/dev/sda2 /mnt/ubuntu ext4 defaults 1 1

A entrada do lilo.conf é:

image = /boot/vmlinuz
root = /dev/sda2
initrd = /mnt/ubuntu/boot/initrd.gz
label = Ubuntu
read-only

O link:

sudo ln -s /boot/initrd.img.3.0.0-13-generic /boot/initrd.gz



15. Re: GRUB - UBuntu 11.04 / Slack 13.37 [RESOLVIDO]

Henrique Nunes
Henriquenunnes

(usa Arch Linux)

Enviado em 30/11/2011 - 16:20h

Olá, estamos quase lá...

Eu não estou conseguindo subir o Ubuntu... carrega, mas trava no meio... ou demora msm?

Abaixo alguns cat:

bash-4.1# cat /etc/fstab
/dev/sda5 swap swap defaults 0 0
/dev/sda7 / ext4 defaults 1 1
/dev/sda6 /mnt/ubuntu ext4 defaults 1 1
/dev/sda8 /home ext4 defaults 1 2
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0

bash-4.1# cat /etc/lilo.conf
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda7
label = Slackware
read-only
# Partitions should be mounted read-only for checking
# Linux bootable partition config ends

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda6
initrd = /mnt/ubuntu/boot/initrd.gz
label = Ubuntu
read-only
# Partitions should be mounted read-only for checking
# Linux bootable partition config ends

# Windows bootable partition config begins
other = /dev/sda1
label = Ruindows
table = /dev/sda
# Windows bootable partition config ends

bash-4.1# lilo
Added Slackware *
Warning: The initial RAM disk is too big to fit between the kernel and
the 15M-16M memory hole. It will be loaded in the highest memory as
though the configuration file specified "large-memory" and it will
be assumed that the BIOS supports memory moves above 16M.
Added Ubuntu ?
Added Ruindows
One warning was issued.


Será que fiz algo errado na instrução acima?

Desde já grato pela atenção!





16. Re: GRUB - UBuntu 11.04 / Slack 13.37 [RESOLVIDO]

Henrique Nunes
Henriquenunnes

(usa Arch Linux)

Enviado em 06/12/2011 - 01:02h

Olá pessoal,

Voltei para o Grub mesmo e deixei o Lilo de lado por enquanto, estou lendo algumas documentações sobre...

Desde já grato pela atenção de Todos!

Abraço!



01 02