Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 17/12/2007, à 20:12

LizardKing

Ubuntu Studio sur un HD USB et Grub

Bonjour,

Un ami qui avait dejठun Gutsy sur son laptop m'a demandé de lui installer Ubuntu Studio. Je le lui ai donc installé un deuxià¼me Gutsy sur un HD en usb. Mais j'ai mis la partition /boot/ de ce deuxieme Gutsy sur celle du premier (sur le HD fixe de l'ordi) pensant que grub gérerai les 2 OS mais depuis cette installation, plus moyen d'accà¶der ठson premier Gutsy j'ai essayචde modifier le menu.lst de grub mais je seche. J'ai essayé également GAG mais cela n'a donné aucun resultat.

Comment puis-je booter sur mon sda2? le systeme est lठmais pas moyen d'y accéder et mon ami est obligé du coups de brancher son HD usb pour utiliser son laptop!!

Merci d'avance pour vos réponses!


Certains ne deviennent jamais fou... Leur vie doit etre bien monotone!
Bukovski

Ubuntu 10.04 LTS

Hors ligne

#2 Le 17/12/2007, à 20:43

LizardKing

Re : Ubuntu Studio sur un HD USB et Grub

Voici le resultat de mon fdisk -l

Disque /dev/sda: 80.0 Go, 80026361856 octets
255 heads, 63 sectors/track, 9729 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0xaa00aa00

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1          18      144553+  83  Linux
/dev/sda2              19        1477    11719417+  83  Linux
/dev/sda3            1478        1726     2000092+  82  Linux swap / Solaris
/dev/sda4            1727        9729    64284097+  83  Linux

Disque /dev/sdb: 500.1 Go, 500107862016 octets
255 heads, 63 sectors/track, 60801 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0006498c

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1               1        1020     8193118+  83  Linux
/dev/sdb2            1021        6374    43006005   83  Linux
/dev/sdb3            6375       60801   437184877+   b  W95 FAT32

et de mon 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		2

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

## 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=6a6d1544-bfff-4a98-9962-655426ce6724 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= splash quiet

## 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 7.10, kernel 2.6.22-14-rt
root		(hd0,0)
kernel		/vmlinuz-2.6.22-14-rt root=UUID=6a6d1544-bfff-4a98-9962-655426ce6724 ro quiet splash
initrd		/initrd.img-2.6.22-14-rt
quiet

title		Ubuntu 7.10, kernel 2.6.22-14-rt (recovery mode)
root		(hd0,0)
kernel		/vmlinuz-2.6.22-14-rt root=UUID=6a6d1544-bfff-4a98-9962-655426ce6724 ro single
initrd		/initrd.img-2.6.22-14-rt

title		Ubuntu 7.10, kernel 2.6.22-14-generic
root		(hd0,0)
kernel		/vmlinuz-2.6.22-14-generic root=UUID=6a6d1544-bfff-4a98-9962-655426ce6724 ro quiet splash
initrd		/initrd.img-2.6.22-14-generic
quiet

title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root		(hd0,0)
kernel		/vmlinuz-2.6.22-14-generic root=UUID=6a6d1544-bfff-4a98-9962-655426ce6724 ro single
initrd		/initrd.img-2.6.22-14-generic

title		Ubuntu 7.10, memtest86+
root		(hd0,0)
kernel		/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

Certains ne deviennent jamais fou... Leur vie doit etre bien monotone!
Bukovski

Ubuntu 10.04 LTS

Hors ligne

#3 Le 17/12/2007, à 21:28

LizardKing

Re : Ubuntu Studio sur un HD USB et Grub

Après encore une heure a bourlinguer sur les forums je crois que je comprend mon erreur...

Les kernels sont sur /boot/ c'est bien ça?

et j'ai donc shooter son ancien kernel qui amenait ठson Gutsy standard?

svp aider moi je débute sur linux...

Si ma déduction est bonne y a t il moyen de remettre l'ancien noyau ? ou je dois recréer une partition /boot pour mon premier Gutsy?


Certains ne deviennent jamais fou... Leur vie doit etre bien monotone!
Bukovski

Ubuntu 10.04 LTS

Hors ligne