Prob menu.lst
neophyte39
-
aruju Messages postés 2219 Date d'inscription Statut Contributeur Dernière intervention -
aruju Messages postés 2219 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour,
voici mon menu .lst
j'ai suivi un tuto pour installer kubuntu en real sur une clé usb 8giga
mais je n'arrive pas a parametrer le menu.lst
sachant que je n'ai qu'1 disque dur !!(partitionné en 3)
si une bonne ame pouvait jeter un oeil (voir les deux :) )
antoine
# 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 15
#
# hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
#
# 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/hd0,0 ro
#
# kopt_2_6_8=root=/dev/hdc1 ro
#
# kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=a64fca68-3a39-4dd4-bf4d-387aabcacfe8 ro
#
# Setup crashdump menu entries
#
# e.g. crashdump=1
# crashdump=0
#
# 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=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
#
#
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a64fca68-3a39-4dd4-bf4d-387aabcacfe8 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 (hd1,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a64fca68-3a39-4dd4-bf4d-387aabcacfe8 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, memtest86+
root (hd1,0)
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/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader)
root (hd0,1)
savedefault
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda4
title Microsoft Windows XP Embedded
root (hd0,3)
savedefault
chainloader +1
voici mon menu .lst
j'ai suivi un tuto pour installer kubuntu en real sur une clé usb 8giga
mais je n'arrive pas a parametrer le menu.lst
sachant que je n'ai qu'1 disque dur !!(partitionné en 3)
si une bonne ame pouvait jeter un oeil (voir les deux :) )
antoine
# 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 15
#
# hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
#
# 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/hd0,0 ro
#
# kopt_2_6_8=root=/dev/hdc1 ro
#
# kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=a64fca68-3a39-4dd4-bf4d-387aabcacfe8 ro
#
# Setup crashdump menu entries
#
# e.g. crashdump=1
# crashdump=0
#
# 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=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
#
#
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a64fca68-3a39-4dd4-bf4d-387aabcacfe8 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 (hd1,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a64fca68-3a39-4dd4-bf4d-387aabcacfe8 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, memtest86+
root (hd1,0)
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/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader)
root (hd0,1)
savedefault
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda4
title Microsoft Windows XP Embedded
root (hd0,3)
savedefault
chainloader +1
Configuration: Windows XP Internet Explorer 7.0
26 réponses
- 1
- 2
Suivant
-
-
salut,
Après l'installation normalement tu n'as rien à paramétrer. Où est ce que t'as installé Grub?
Affiche le résultat des commandes suivantes:
sudo fdisk -l mount
-
j'ai installé grub sur la clé usb avec l'option avancée de l'installation
je te met le lien du tuto
http://forum.ubuntu-fr.org/viewtopic.php?id=181665
voilà tu saura les manip faites
ps je suis neophyte sous linux (1 mois)
et l'installation s'est passée sans probleme mais la clé ne boot pas -
as-tu des messages d'erreur? comment as-tu fais pour récupérer ton menu.lst?
-
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question -
je lance kubuntu en live cd et je met ma clé usb
ensuite j'arrive avec dolphin a edit en root mon fichier menu.lst -
ok alors mets ton live cd, ouvre une console et tape:
sudo fdisk -l ls -l /dev/disk/by-uuid/
Puis colle ici le résultat -
fdisk: invalid option -- 1
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
ubuntu@ubuntu:~$ sudo fdisk-1
sudo: fdisk-1: command not found
ubuntu@ubuntu:~$ sudo fdisk -1
fdisk: invalid option -- 1
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
ubuntu@ubuntu:~$ ls -1 /dev/disk/by-uuid/
2ACE2463E49BED2A
31250317-147d-462d-b25b-fa02cfe066ca
68C8CBC7C8CB922C
88A81E33A81E206C
a64fca68-3a39-4dd4-bf4d-387aabcacfe8
DC3CE1733CE148DA
e8297e83-58db-4be1-b4c2-038c2f343ed4
ubuntu@ubuntu:~$ -
-
c'est un L minuscule
sudo fdisk -l
Edit: je crois que le résultat de la commande ls -1 /dev/disk/by-uuid/ n'est pas complet -
fdisk: invalid option -- 1
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
ubuntu@ubuntu:~$ sudo fdisk-1
sudo: fdisk-1: command not found
ubuntu@ubuntu:~$ sudo fdisk -1
fdisk: invalid option -- 1
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
ubuntu@ubuntu:~$ ls -1 /dev/disk/by-uuid/
2ACE2463E49BED2A
31250317-147d-462d-b25b-fa02cfe066ca
68C8CBC7C8CB922C
88A81E33A81E206C
a64fca68-3a39-4dd4-bf4d-387aabcacfe8
DC3CE1733CE148DA
e8297e83-58db-4be1-b4c2-038c2f343ed4
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$
je n'ai que ça merci -
je repete: c'est un L minuscule et non chifre 1
sudo fdsik -l (et non sudo fdisk -1)
et
ls -l /dev/disk/by-uuid/ et non ls -1 /dev/disk/by-uuid/ -
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8ae917fb
Device Boot Start End Blocks Id System
/dev/sda1 1 1785 14329948+ 12 Compaq diagnostics
/dev/sda2 * 1785 10632 71065600 6 FAT16
/dev/sda3 10633 19022 67392541+ f W95 Ext'd (LBA)
/dev/sda4 19022 19458 3494912 12 Compaq diagnostics
/dev/sda5 14712 19022 34626560 7 HPFS/NTFS
Disk /dev/sdb: 8019 MB, 8019509248 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 729 5855661 83 Linux
/dev/sdb2 730 826 779152+ 83 Linux
/dev/sdb3 827 974 1188810 82 Linux swap / Solaris
ubuntu@ubuntu:~$ ls -1 /dev/disk/by-uuid/
2ACE2463E49BED2A
31250317-147d-462d-b25b-fa02cfe066ca
68C8CBC7C8CB922C
88A81E33A81E206C
a64fca68-3a39-4dd4-bf4d-387aabcacfe8
DC3CE1733CE148DA
e8297e83-58db-4be1-b4c2-038c2f343ed4
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$
voilà sorry -
si tu pouvais m'expliquer a koi ça correspond pour que je puisse progresser
merci de ta patience -
c'est un L minuscule
ls -l /dev/disk/by-uuid/
P.S ?????? -
ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2008-08-31 13:53 2ACE2463E49BED2A -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-08-31 14:56 31250317-147d-462d-b25b-fa02cfe066ca -> ../../sdb3
lrwxrwxrwx 1 root root 10 2008-08-31 13:53 68C8CBC7C8CB922C -> ../../sda2
lrwxrwxrwx 1 root root 10 2008-08-31 13:53 88A81E33A81E206C -> ../../sda4
lrwxrwxrwx 1 root root 10 2008-08-31 14:56 a64fca68-3a39-4dd4-bf4d-387aabcacfe8 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2008-08-31 13:53 DC3CE1733CE148DA -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-08-31 14:56 e8297e83-58db-4be1-b4c2-038c2f343ed4 -> ../../sdb2
ubuntu@ubuntu:~$
voilà -
ok, tape :
sudo mkdir /mnt/ubuntu sudo mount /dev/sdb1 /mnt/ubuntu
ensuite tape et colle ici le résultat:ls -l /mnt cat /mnt/ubuntu/boot/grub/menu.lst | egrep -v '^(#|;|$)'
-
ubuntu@ubuntu:~$ sudo mkdir /mnt/ubuntu
ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /mnt/ubuntu
ubuntu@ubuntu:~$ ls -1 /mnt
ubuntu
ubuntu@ubuntu:~$ cat /mnt/ubuntu/boot/grub/menu.lst | egrep -v "^(#|;|$)"
default 0
timeout 15
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a64fca68-3a39-4dd4-bf4d-387aabcacfe8 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,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a64fca68-3a39-4dd4-bf4d-387aabcacfe8 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
title Other operating systems:
root
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
chainloader +1
title Windows Vista/Longhorn (loader)
root (hd0,1)
savedefault
chainloader +1
title Microsoft Windows XP Embedded
root (hd0,3)
savedefault
chainloader +1
ubuntu@ubuntu:~$ -
as-tu réglé ton bios de manière à booter sur ta clé usb?
-
-
test negatif il ne boot pas sur la clé et c'est vista qui se lance!!!en fait a ma premiere install j'ai modifié cette ligne qui etait identique et j'ai modifié la ligroot
groot (hd1,0) en groot (hd0,0)
faut-il le remettre en (hd1,0)??
- 1
- 2
Suivant