URL: https://linuxfr.org/forums/linux-gentoo/posts/petits-probl%C3%A8mes-config-partitions-apr%C3%A8s-install Title: petits problèmes config partitions après install... Authors: quiscoul Date: 2007年05月04日T17:58:01+02:00 Tags: ubuntu Score: 0 Salut à tous, Hier j'ai installé vidalinux (basée sur gentoo) sur le deuxième disque de mon pc, hdb (j'ai une ubuntu installés sur hda). Bref l'installation se passe nickel, j'utilise entièrement ce deuxième disque comme partition racine, et ma partition swap (hda5) déjà existante. Le hic c'est que c'est comme si j'avais aucun accès à mon disque hda par vidalinux : - je n'ai pas de swap ("swapon /dev/hda5" me répond "invalid argument") localhost ~ # free £spaces£ £/spaces£total used free shared buffers cached Mem: 450088 258884 191204 0 10788 151804 -/+ buffers/cache: 96292 353796 Swap: 0 0 0 - je ne peux pas monter ma partition hda1 : localhost ~ # mount -t ext3 /dev/hda1 /mnt/hda1/ mount: /dev/hda1 already mounted or /mnt/hda1/ busy - et pour finir je ne peux plus booter ubuntu, après avoir pourtant copié le contenu correspondant de mon /boot/grub/menu.lst ubuntu dans celui de vidalinux : au boot il me répond "file not found". Bref, quelque chose cloche avec la config de ce disque. Je préceise qu'il n'est pas mort car je peux le monter en passant par un live-cd. Voilà quelques infos sur ma config vidalinux : localhost cosmo # cat /etc/fstab /dev/hdb1 / ext3 defaults,user_xattr 1 1 #/dev/hda1 /mnt/hda1 ext3 defaults,user_xattr 1 2 /dev/proc /proc proc defaults,user_xattr 0 0 /dev/hda5 swap swap defaults,user_xattr 0 0 localhost ~ # mkswap -c /dev/hda5 Setting up swapspace version 1, size = 855392 kB localhost cosmo # swapon /dev/hda5 swapon: /dev/hda5: Argument invalide localhost ~ # fdisk -l /dev/hda Disk /dev/hda: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes £spaces£ £/spaces£Device Boot Start End Blocks Id System /dev/hda1 * 1 2330 18715693+ 83 Linux /dev/hda2 2331 2434 835380 5 Extended /dev/hda5 2331 2434 835348+ 82 Linux swap / Solaris localhost ~ # fdisk -l /dev/hdb Disk /dev/hdb: 8455 MB, 8455200768 bytes 255 heads, 63 sectors/track, 1027 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes £spaces£ £/spaces£Device Boot Start End Blocks Id System /dev/hdb1 * 1 1028 8257000+ 83 Linux localhost cosmo # cat /etc/fstab /dev/hdb1 / ext3 defaults,user_xattr 1 1 /dev/hda1 /mnt/hda1 ext3 defaults,user_xattr 1 2 /dev/proc /proc proc defaults,user_xattr 0 0 /dev/hda5 swap swap defaults,user_xattr 0 0 localhost ~ # mkswap -c /dev/hda5 Setting up swapspace version 1, size = 855392 kB localhost cosmo # swapon /dev/hda5 swapon: /dev/hda5: Argument invalide localhost ~ # fdisk -l /dev/hda Disk /dev/hda: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes £spaces£ £/spaces£Device Boot Start End Blocks Id System /dev/hda1 * 1 2330 18715693+ 83 Linux /dev/hda2 2331 2434 835380 5 Extended /dev/hda5 2331 2434 835348+ 82 Linux swap / Solaris localhost ~ # fdisk -l /dev/hdb Disk /dev/hdb: 8455 MB, 8455200768 bytes 255 heads, 63 sectors/track, 1027 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes £spaces£ £/spaces£Device Boot Start End Blocks Id System /dev/hdb1 * 1 1028 8257000+ 83 Linux localhost cosmo # cat /boot/grub/menu.lst default=1 timeout=5 splashimage=(hd1,0)/boot/grub/splash.xpm.gz hiddenmenu title VLOS (2.6.17-vidalinux) £spaces£ £/spaces£root (hd1,0) £spaces£ £/spaces£kernel /boot/vmlinuz-2.6.17-vidalinux ro dolvm2 doscsi root=/dev/ram0 init=/linuxrc real_root=/dev/hdb1 vga=0x318 splash=silent,theme:vlos quiet CONSOLE=/dev/tty1 £spaces£ £/spaces£initrd /boot/initrd-2.6.17-vidalinux.img title Ubuntu, kernel 2.6.20-15-generic £spaces£ £/spaces£root (hd0,0) £spaces£ £/spaces£kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=3912b607-f0b5-40b4-ad4f-0df46d236b52 ro quiet splash locale=fr_FR £spaces£ £/spaces£initrd /boot/initrd.img-2.6.20-15-generic quiet savedefault Si quelqu'un avait une idée ça m'arrangerait pas mal, elle a l'air bien cette distro...

AltStyle によって変換されたページ (->オリジナル) /