View Full Version : Ubuntu 8.10 e Kernel 2.6.27
Dopo aver fatto l'aggiornamento da 8.04 a 8.10, e' stato scaricato anche il Kernel 2.6.27.
Pero', al boot c'e' sempre e solo il Kernel 2.6.24...qualcuno sa spiegarmi il perche' please?
darkbasic
06-11-2008, 16:17
Boh.. avrà sbagliato ad aggiornare il config di grub, prova a postare un ls /boot
Boh.. avrà sbagliato ad aggiornare il config di grub, prova a postare un ls /boot
Dunque...dice...
abi-2.6.27-3-rt
abi-2.6.27-7-generic
config-2.6.24-21-rt
config-2.6.27-3-rt
config-2.6.27-7-generic
[grub]
initrd.img-2.6.24-21-rt
initrd.img-2.6.24-21-rt.bak
initrd.img-2.6.24-27-3-rt
initrd.img-2.6.24-27-7-generic
memtest86+.bin
System.map-2.6.24-21-rt
System.map-2.6.27-3-rt
System.map-2.6.27-7-generic
vmcoreinfo-2.6.27-3-rt
vmcoreinfo-2.6.27-7-generic
vmlinuz-2.6.24-21-rt
vmlinuz-2.6.27-3-rt
vmlinuz-2.6.27-7-rt
darkbasic
06-11-2008, 20:45
bene, adesso posta un cat /boot/grub/menu.lst che te lo aggiusto ;)
Grazie:)
Dunque...
(Dimenticavo di dire che e' stato installato con WUBI)
#color black/black black/black
default 0
timeout 10
title Ubuntu 8.04.1, kernel 2.6.24-21-rt
root (hd0,0)/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-21-rt root=UUID=5B240E475246D1CD loop=/ubuntu/disks/root.disk ro
initrd /boot/initrd.img-2.6.24-21-rt
title Ubuntu 8.04.1, kernel 2.6.24-21-rt (recovery mode)
root (hd0,0)/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-21-rt root=UUID=5B240E475246D1CD loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.24-21-rt
title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd0,0)/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=5B240E475246D1CD loop=/ubuntu/disks/root.disk ro
initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root (hd0,0)/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=5B240E475246D1CD loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,0)/ubuntu/disks
kernel /boot/memtest86+.bin
title Other operating systems:
root
title Windows Vista/Longhorn (loader)
root (hd0,0)
chainloader +1
savedefault
title Windows Vista/Longhorn (loader)
root (hd0,1)
chainloader +1
savedefault
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=5B240E475246D1CD loop=/ubuntu/disks/root.disk ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
darkbasic
06-11-2008, 22:38
Ricontrollando il listato di ls /boot mi sono accorto che manca l'initrd per il kernel 2.6.27 :eek:
Postami un dpkg -l | grep linux-image e un apt-cache search linux | grep image | grep 27
Edit: rileggendo meglio non so più che pensare, non so spiegarmi il perchè di questi:
initrd.img-2.6.24-27-3-rt
initrd.img-2.6.24-27-7-generic
Facciamo così prova ad aggiungere in /boot/grub/menu.lst subito dopo timeout 10:
title Ubuntu 8.10, kernel 2.6.27-3-rt
root (hd0,0)/ubuntu/disks
kernel /boot/vmlinuz-2.6.27-3-rt root=UUID=5B240E475246D1CD loop=/ubuntu/disks/root.disk ro
initrd /boot/initrd.img-2.6.24-27-3-rt
e vedi se ti funziona
Postami un dpkg -l | grep linux-image
Eccolo:
rc linux-image-2.6.24-21-generic 2.6.24-21.42 Linux kernel image for version 2.6.24 on x86/x86_64
ii linux-image-2.6.24-21-rt 2.6.24-21.42 Linux kernel image for version 2.6.24 on Ingo Molnar's
ii linux-image-2.6.27-3-rt 2.6.27-3.8 Linux kernel image for version 2.6.27 on Ingo Molnar's
ii linux-image-2.6.27-7-generic 2.6.27-7.16 Linux kernel image for version 2.6.27 on x86/x86_64
ii linux-image-generic 2.6.27.7.11 Generic Linux kernel image
ii linux-image-rt 2.6.27.3.4 Rt Linux kernel image
apt-cache search linux | grep image | grep 27
Dice:
linux-image-2.6.27-3-rt - Linux kernel image for version 2.6.27 on Ingo Molnar's full real time preemption patch (2.6.26.5-rt9)
linux-image-2.6.27-7-generic - Linux kernel image for version 2.6.27 on x86/x86_64
linux-image-2.6.27-7-server - Linux kernel image for version 2.6.27 on x86/x86_64
linux-image-2.6.27-7-virtual - Linux kernel image for version 2.6.27 on x86/x86_64
vedi se ti funziona
Ci provo, grazie:)
[EDIT]
Dunque, dopo aver corretto initrd /boot/initrd.img-2.6.24-27-3-rt in initrd /boot/initrd.img-2.6.27-3-rt (Altrimenti dice FILE NOT FOUND), inizia il boot ma poi si ferma alla voce BEGIN: Waiting of root file system e dopo alcuni istanti dice:
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the sysem wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/5B240E475246D1CD does not exist. Dropping to a shell!
...idee?:(
darkbasic
08-11-2008, 12:56
Dunque, dopo aver corretto initrd /boot/initrd.img-2.6.24-27-3-rt in initrd /boot/initrd.img-2.6.27-3-rt (Altrimenti dice FILE NOT FOUND)
Allora era sbagliato l'output di ls /boot che mi avevi postato, in effetti initrd.img-2.6.24-27-3-rt non aveva senso... meglio così comunque.
Fammi uno screenshot di gparted e postami un cat /etc/fstab così eliminiamo quella fetecchia degli uuid ;)
> Fammi uno screenshot di gparted
Eccolo!
http://i36.tinypic.com/dvo806.png
> postami un cat /etc/fstab
Ecco!
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/host/ubuntu/disks/root.disk / ext3 loop,errors=remount-ro 0 1
/host/ubuntu/disks/boot /boot none bind 0 0
/host/ubuntu/disks/swap.disk none swap loop,sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sda1 /media/OS ntfs-3g defaults,locale=it_IT.UTF-8 0 0
Ancora grazie:)
darkbasic
09-11-2008, 16:23
Prova a mettere /dev/sda1 al posto di root=UUID=5B240E475246D1CD nella entry per il kernel 2.6.27. Se non funziona nemmeno così non so veramente aiutarti perché purtroppo non conosco wubi e non ho mai utilizzato gli uuid..
Vash1986
09-11-2008, 21:05
Io due anni fa feci l'aggiornamento da Ubuntu Breezy a Dapper con apt-get dist-upgrade.
Il risultato fu un disastro... c'erano molte cose che non funzionavano, soprattutto a livello di pacchetti. Da allora se devo passare da una ubuntu all'altra formatto :D
darkbasic
09-11-2008, 21:16
se non sbaglio il team di ubuntu non consiglia un dist-upgrade per aggiornare da una versione all'altra, ma hanno un'accrocchio chiamato updatequalcosa..
Ad ogni modo son convinto che un paio d'anni di gavetta con debian sid/experimental renderebbero gli upgrade di ubuntu un piacevole appuntamento :D
Niente da fare...mi sa proprio che dovro' formattare e reinstallare...che seccatura pero':(
Grazie di tutto comunque:)
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.