[Linux-bruxelles] n'arrive pas a mounter une disquette boot ? ? ?

Osvaldo La Rosa blinuxman at tuxfamily.org
Jeu 13 Juin 22:28:28 CEST 2002


Le nom de la mini distrib est: NBrokLinux; elle est en ext et peut être
lancée et utilisée sur un Iomega.
Minix pour la disquette boot? sais pas, voici le makebootdisk.sh comme
ça tu pourra p-e me dire:


#!/bin/bash
#Make a NBROK-linux boot-floppy
#
clear
echo
echo "NBROK-linux boot-floppy creator v0.4"
echo

installdir=`pwd`
packagedir="packages"
floppydevice="/dev/fd0"
floppyrawdevice="/dev/fd0u1440"
zipdevice="/dev/sda4"

if ! [ "$UID" = "0" ]; then
  echo "You should be logged in as root to create a NBROK-linux boot floppy."
  echo "Non-root users cannot make the floppy bootable. To cancel press CTRL-C."
  echo "to proceed (it won't work, I warned you!) press enter." 
  read JUNK
fi
if [ "$UID" = "0" ]; then
  echo "Going to create a bootfloppy"
  echo "Formatting the floppy first....."
  echo "Insert a floppy in the floppydrive and press enter when ready."
  read JUNK
  fdformat $floppyrawdevice
  if [ "$?" = "0" ]; then
    echo "Copying the bzImage onto floppy"
    dd if=$packagedir/bzImage of=/dev/fd0 bs=18k
    rdev /dev/fd0 $zipdevice
    rdev -R /dev/fd0 1
    echo "You now have a bootfloppy for NBROK-linux, a small linux on a ZIP-floppy."
    echo "Connect your parallel-port zipdrive to your (laptop) computer and boot"
    echo "linux from this floppy."
  else
    echo "Formatting floppy failed, bailing out."
  fi
else
  echo "Don't say I didn't warn you... exitting, try again as root!"
fi

Precision: le makerootdisk qui permet de mettre ta distrib sur l'Iomega
Zip est prévu pour sda4 alors qu'ici il parle de parrallel... mais
quand bien même, j'aimerais pouvoir lire la disquette s'il y a des
trucs à modifier...




Plus d'informations sur la liste de diffusion Linux-bruxelles