Pagina 1 di 1

[Risolto] [Boot] grub legge kubuntu ma non lo avvia

Inviato: martedì 2 settembre 2008, 1:23
da jerico
Salve a tutti,
ho questo problemino....
sul mio hd ho 3 partizioni con installati
- win xp
- ubuntu
- kubuntu
grub li rileva tutti e 3 ma quando seleziono kubuntu mi dice.impossibile montare la partizione
cosa è successo?
grazie a chiunque abbia consigli preziosi....

Re: [Boot] grub legge kubuntu ma non lo avvia

Inviato: martedì 2 settembre 2008, 7:55
da steff
errore 17?

Posta

Codice: Seleziona tutto

sudo fdisk -l
e

Codice: Seleziona tutto

cat /boot/grub/menu.lst

Re: [Boot] grub legge kubuntu ma non lo avvia

Inviato: martedì 2 settembre 2008, 8:37
da jerico

Codice: Seleziona tutto

pablo@ubuntu:~$ sudo fdisk -l
[sudo] password for pablo: 

Disco /dev/hda: 120.0 GB, 120034123776 byte
255 heads, 63 sectors/track, 14593 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x83eaaf0d

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1810    14538793+   7  HPFS/NTFS
/dev/hda2            1811       14593   102679447+   f  W95 Esteso (LBA)
/dev/hda5           13940       14593     5253223+   7  HPFS/NTFS
/dev/hda6            1811        7634    46781217   83  Linux
/dev/hda7            7635       13270    45271138+  83  Linux
/dev/hda8           13271       13517     1983996   82  Linux swap / Solaris
/dev/hda9           13518       13939     3389683+  82  Linux swap / Solaris

Le voci nella tabella delle partizioni non sono nello stesso ordine del disco

Disco /dev/sda: 80.0 GB, 80026361856 byte
255 heads, 63 sectors/track, 9729 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x79837a03

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        9728    78140128+   7  HPFS/NTFS

Disco /dev/sdb: 40.0 GB, 40007761920 byte
16 heads, 63 sectors/track, 77520 cylinders
Units = cilindri of 1008 * 512 = 516096 bytes
Disk identifier: 0x694e161d

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       77505    39062488+   c  W95 FAT32 (LBA)

Disco /dev/sdc: 80.0 GB, 80026361856 byte
255 heads, 63 sectors/track, 9729 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2faa2b89

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        9729    78148161    c  W95 FAT32 (LBA)
pablo@ubuntu:~$ 

Codice: Seleziona tutto

pablo@ubuntu:~$ sudo cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue
#splashimage


## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### 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=c5001c4b-c455-4e58-8606-2429af853f05 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,5)

## 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=quiet splash

## 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

## ## End Default Options ##
  
splashimage=(hd0,5)/boot/grub/sfondogrub.xpm.gz

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic
root		(hd0,5)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=c5001c4b-c455-4e58-8606-2429af853f05 ro quiet splash
initrd		/boot/initrd.img-2.6.24-19-generic
quiet

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root		(hd0,5)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=c5001c4b-c455-4e58-8606-2429af853f05 ro single
initrd		/boot/initrd.img-2.6.24-19-generic

title		Ubuntu 8.04.1, memtest86+
root		(hd0,5)
kernel		/boot/memtest86+.bin
quiet

title		Kubuntu 8.04.1, kernel 2.6.24-19-generic
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=852b4722-0593-4500-89c6-04df491f474d ro quiet splash
initrd		/boot/initrd.img-2.6.24-19-generic
quiet

title		Kubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=852b4722-0593-4500-89c6-04df491f474d ro single
initrd		/boot/initrd.img-2.6.24-19-generic

title		Kubuntu 8.04.1, memtest86+
root		(hd0,7)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title		Windows Xp Home Edition
root		(hd0,0)
savedefault
makeactive
chainloader	+1

pablo@ubuntu:~$ 

ecco i risultati dei comandi.....

Re: [Boot] grub legge kubuntu ma non lo avvia

Inviato: martedì 2 settembre 2008, 8:42
da steff
/dev/hda6            1811        7634    46781217  83  Linux
/dev/hda7            7635      13270    45271138+  83  Linux
Penso che hda6 =  (hd0,7) in grub sia Ubuntu e hda7 Kubuntu e che basta modificare la voce per Kubuntu in (hd0,6) che corrisponde a hda7. Ora punta a una partizione ntfs

Re: [Boot] grub legge kubuntu ma non lo avvia

Inviato: martedì 2 settembre 2008, 8:59
da jerico

Codice: Seleziona tutto

Penso che hda6 =  (hd0,7) in grub sia Ubuntu e hda7 Kubuntu e che basta modificare la voce per Kubuntu in (hd0,6) che corrisponde a hda7. Ora punta a una partizione ntfs
questo è il mio file di grub

Codice: Seleziona tutto

sudo gedit /boot/grub/menu.lst

Codice: Seleziona tutto

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue
#splashimage


## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### 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=c5001c4b-c455-4e58-8606-2429af853f05 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,5)

## 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=quiet splash

## 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

## ## End Default Options ##
  
splashimage=(hd0,5)/boot/grub/sfondogrub.xpm.gz

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic
root		(hd0,5)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=c5001c4b-c455-4e58-8606-2429af853f05 ro quiet splash
initrd		/boot/initrd.img-2.6.24-19-generic
quiet

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root		(hd0,5)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=c5001c4b-c455-4e58-8606-2429af853f05 ro single
initrd		/boot/initrd.img-2.6.24-19-generic

title		Ubuntu 8.04.1, memtest86+
root		(hd0,5)
kernel		/boot/memtest86+.bin
quiet

title		Kubuntu 8.04.1, kernel 2.6.24-19-generic
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=852b4722-0593-4500-89c6-04df491f474d ro quiet splash
initrd		/boot/initrd.img-2.6.24-19-generic
quiet

title		Kubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=852b4722-0593-4500-89c6-04df491f474d ro single
initrd		/boot/initrd.img-2.6.24-19-generic

title		Kubuntu 8.04.1, memtest86+
root		(hd0,7)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title		Windows Xp Home Edition
root		(hd0,0)
savedefault
makeactive
chainloader	+1
devo cambiare i parametri in fondo al file?
cioè,alle righe relative a kubuntu metto hd0,6 anzichè hd0,7?
ho capito bene?

Re: [Boot] grub legge kubuntu ma non lo avvia

Inviato: martedì 2 settembre 2008, 9:37
da bancaldo
jerico ha scritto: metto hd0,6 anzichè hd0,7?
ho capito bene?
sì.

[Risolto] Re: [Boot][Risolto] grub legge kubuntu ma non lo avvia

Inviato: martedì 2 settembre 2008, 10:03
da jerico
grande!!!
è bastato fare come mi hai detto ed è andato tutto a posto.
grazie raga,grazie mille!!!

Re: [Boot] grub legge kubuntu ma non lo avvia

Inviato: martedì 2 settembre 2008, 10:47
da steff
:)

Metti [risolto] nel titolo del primo post (clicca "modifica), per chi usa la ricerca, grazie!