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 20/01/2007, à 22:23

pizol

Lancer Ubuntu sur DD externe [résolu]

Salut à tous !

j'ai installé Xubuntu avec l'alternate 6.10, sur mon disque dur externe, j'ai mis le grub sur le MBR de mon externe, je boot dessus, j'ai le grub tout marche.

Je lance donc ubuntu, j'apercois le logo Xubuntu ainsi que la barre de chargement, sauf que celle-ci ne se remplit pas. Au bout d'une minute j'ai l'erreur suivant :

BusyBox v1.1.3 ( Debian 1:1.1.3-2ubuntu3) Built-in-shell (ash)
Enter 'help'

/bin/sh : can't access tty; job control turned off
(initramfs)

Et là je peux entrer quelques commandes.

Note: j'ai pris le soin d'éditer /etc/initramfs-tools/modules en ajoutant :

ehci-hcd
usb-storage
scsi_mod
sd_mod

Ma config : Pc portable HP 9053 . ( j'ai ajouté les noapic nolapic )

Savez-vous d'où vient le problème ? Je ne parvient pas à trouver ... Merci d'avance.

Dernière modification par pizol (Le 22/01/2007, à 13:44)

Hors ligne

#2 Le 20/01/2007, à 22:28

M@XflY

Re : Lancer Ubuntu sur DD externe [résolu]

c'est ton kernel qui arrive pas à démarré, sinon tu n'aurai pas la busy box


Lorsqu'un groupe de hackers du monde Unix se mettent a essayer de porter le systeme Unix sur PC, vous obtenez BSD.
Lorsqu'un groupe de hackers du monde des PC se mettent a essayer de coder un Unix pour PC, vous obtenez Linux.

Hors ligne

#3 Le 20/01/2007, à 22:55

pizol

Re : Lancer Ubuntu sur DD externe [résolu]

ok merci. c'est par rapport à la ligne kernel ?

title           Ubuntu, kernel 2.6.17-10-generic
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro quiet splash noapic nolapic
initrd          /boot/initrd.img-2.6.17-10-generic-usb

merci

Dernière modification par pizol (Le 21/01/2007, à 17:22)

Hors ligne

#4 Le 21/01/2007, à 12:33

pizol

Re : Lancer Ubuntu sur DD externe [résolu]

si ca peut faire avancer les choses ...

voici 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 change this entry to 'saved' 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

## 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/sda5 ro
##      kopt_2_6_8=root=/dev/sda5 ro
##      kopt_2_6_8_2_686=root=/sda5 ro
# kopt=root=UUID=37277a80-f0e8-4f17-b1e0-49cc2e2a1bd3 ro
# kopt_2_6=root=(hd0,4) ro

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

## 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=(hd0,4)
# defoptions=quiet splash noapic nolapic

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

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

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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.17-10-generic
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-10-generic root=(hd0,4) ro quiet splash noapic nolapic
initrd		/boot/initrd.img-2.6.17-10-generic-usb
savedefault
boot

title		Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-10-generic root=(hd0,4) ro single
initrd		/boot/initrd.img-2.6.17-10-generic-usb
boot

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

### 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 XP Media Center Edition
root		(hd0,0)
savedefault
chainloader	+1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title		Windows NT/2000/XP
root		(hd0,1)
savedefault
chainloader	+1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda3
title		Microsoft Windows XP Embedded
root		(hd0,2)
savedefault
chainloader	+1

mon répertoire /boot :

ubuntu@ubuntu:/media/usbdisk/boot$ ls -l
total 13452
-rw-r--r-- 1 root root  285604 2006-10-13 21:09 abi-2.6.17-10-generic
-rw-r--r-- 1 root root   74645 2006-10-13 18:13 config-2.6.17-10-generic
drwxr-xr-x 2 root root    4096 2007-01-21 10:43 grub
-rw-r--r-- 1 root root 5446355 2007-01-14 02:03 initrd.img-2.6.17-10-generic
-rw-r--r-- 1 root root 5446809 2007-01-21 01:45 initrd.img-2.6.17-10-generic-usb
-rw-r--r-- 1 root root   94600 2006-10-20 13:44 memtest86+.bin
-rw-r--r-- 1 root root  728690 2006-10-13 21:09 System.map-2.6.17-10-generic
-rw-r--r-- 1 root root 1636681 2006-10-13 21:09 vmlinuz-2.6.17-10-generic

Dernière modification par pizol (Le 21/01/2007, à 18:34)

Hors ligne

#5 Le 21/01/2007, à 18:43

pizol

Re : Lancer Ubuntu sur DD externe [résolu]

j'ai lu dans plusieurs tutos qu'il fallait faire a partir du rescue du cd d'installation

mount -t proc proc /target/proc
chroot /target 
su

tout ceci après être passé en mode console ALT+CTRL+F2 .

Ainsi je pourrait faire :

mkinitramfs -o /boot/initrd.img-2.6.17-10-generic /lib/modules/2.6.17-10-generic

Pourtant sans passer par cette console, j'ai effectué cette manip après avoir monté ma partition racine, et être passé en root.

j'ai l'impression que ca a marché plutot correctement pourtant !

Hors ligne

#6 Le 22/01/2007, à 11:31

pizol

Re : Lancer Ubuntu sur DD externe [résolu]

en fait c'est bon j'ai trouvé ! big_smile

j'apporterais des explications sur le forum car je croit que ca en vaut la peine !

En fait dans le menu.lst il faut remplacer TOUS les "/dev/sda5" par "UUID=combinaisons-de-chiffres"

Vous trouvez les infos dans /etc/fstab

voila si certains ont des problèmes contactez-moi smile

Dernière modification par pizol (Le 22/01/2007, à 13:46)

Hors ligne

#7 Le 24/01/2007, à 23:20

freynjord

Re : Lancer Ubuntu sur DD externe [résolu]

Bonsoir,

J'ai le même problème,
peux-tu  afficher ton menu.lst après modifications stp ... et expliquer uuid=combinaison de chiffres ...

Merci
Frey

Hors ligne

#8 Le 24/01/2007, à 23:42

freynjord

Re : Lancer Ubuntu sur DD externe [résolu]

J'ai fait la modif dans mon menu.lst

Il démarre ubuntu, loading modules ok, mais reste bloqué sur initializing /dev ...

tu as une idée ?

Hors ligne

#9 Le 24/01/2007, à 23:55

freynjord

Re : Lancer Ubuntu sur DD externe [résolu]

J'ai démarré en mode rescue, et là je vois le message d'erreur, c'est justement le uuid que j'ai rajouté.

begin : initializing /dev
/init:76 syntax error : 0xID = "chiffres-uuid"
<0>kernel panic - not syncing ; attempted to kill init !


Dans menu.lst, j'ai bien .... root="UUID=combinaisons-de-chiffres" c'est ça ?

Hors ligne

#10 Le 26/01/2007, à 18:19

pizol

Re : Lancer Ubuntu sur DD externe [résolu]

salut l'ami et excuse moi pour le retard, vraiment dsl !

voici 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 change this entry to 'saved' 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

## 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=UUID=37277a80-f0e8-4f17-b1e0-49cc2e2a1bd3 ro
##      kopt_2_6_8=root=UUID=37277a80-f0e8-4f17-b1e0-49cc2e2a1bd3 ro
##      kopt_2_6_8_2_686=root=UUID=37277a80-f0e8-4f17-b1e0-49cc2e2a1bd3 ro
# kopt=root=UUID=37277a80-f0e8-4f17-b1e0-49cc2e2a1bd3 ro
# kopt_2_6=root=UUID=37277a80-f0e8-4f17-b1e0-49cc2e2a1bd3  ro

## default grub root device
## e.g. groot=UUID=37277a80-f0e8-4f17-b1e0-49cc2e2a1bd3 
# groot=UUID=37277a80-f0e8-4f17-b1e0-49cc2e2a1bd3 

## 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=UUID=37277a80-f0e8-4f17-b1e0-49cc2e2a1bd3 
# defoptions=quiet splash noapic nolapic

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

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

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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.17-10-generic
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-10-generic root=UUID=37277a80-f0e8-4f17-b1e0-49cc2e2a1bd3  ro quiet splash noapic nolapic
initrd		/boot/initrd.img-2.6.17-10-generic-usb 
savedefault
boot

title		Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-10-generic root=(hd0,4) ro single noapic nolapic
initrd		/boot/initrd.img-2.6.17-10-generic
boot

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

### 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 XP Media Center Edition
root		(hd0,0)
savedefault
chainloader	+1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title		Windows NT/2000/XP
root		(hd0,1)
savedefault
chainloader	+1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda3
title		Microsoft Windows XP Embedded
root		(hd0,2)
savedefault
chainloader	+1

as-tu pris en compte le fait que booter sur l'externe fait passer celui-ci en disque n°1 ?

pti conseil : veilles à ce que ton disque sois toujours branché sur le même port ( j'ai eu des souçis à cause de ça c'est pour ça ! )

et ne fait pas attention dans mon menu.lst aux parties windows, je ne les ai pas réglées wink

a + hésite pas si tu as un problème

Dernière modification par pizol (Le 26/01/2007, à 18:22)

Hors ligne

#11 Le 30/01/2007, à 16:46

freynjord

Re : Lancer Ubuntu sur DD externe [résolu]

Bonjour,

je te remercie beaucoup, ça fonctionne très bien , j'avais fait une erreur dans l'UUID.

Par contre la partie windows ne fonctionne pas , mais ça c'est moins grave.

J'ai bien mis hd1,0 pour windows, mais windows ne démarre si mon disque dur externe est branché, il faut que je le débranche.

Encore merci pour ton aide, c'est un forum vivant ici ...

Hors ligne

#12 Le 30/01/2007, à 20:09

pizol

Re : Lancer Ubuntu sur DD externe [résolu]

euh ben si vraiment ca te gene, tu peux rechercher sur le forum j'ai vu beaucoup de problèmes comme ça. Mais sinon débranche wink

Hors ligne