Hallo Liste, die NWT-Laptops booten ohne Netzwerkkabel automatisch Windows und bieten keine Betriebssystemauswahl von Linbo an. Mit Netzwerkkabel ist alles so, wie es sein sollte. Der Benutzer hat die Wahl zwischen Windows und Ubuntu.
Ich hab' im Anhang mal die acernwt.cloop.postsync menu.lst.acernwt und die start.conf.acernwt mitgeschickt. Über Ideen und Tips würde ich mich sehr freuen. Gruß, Marthias
# $Id: win7-reactivate.postsync 998 2011-03-10 09:23:25Z tschmitt $ echo "##### POSTSYNC BEGIN #####" # Ggf. anzupassende Variablen. # cil-Datei muss unter /var/linbo auf dem Server liegen. mycil="acernwt.cil" # Zielverzeichnis auf der Betriebssystempartition. mytarget="cil" # Server-IP wird berechnet. myserverip="$(grep ^linbo_server /tmp/dhcp.log | tail -1 | awk -F\' '{ print $2 }')" # Wenn Netzwerkverbindung vorhanden ist, lade die cil-Datei in eine temporäre # Datei in den lokalen Cache herunter. if ! localmode; then echo "Lade $mycil herunter ..." rsync -L "$myserverip::linbo/$mycil" "/cache/${mycil}.tmp" fi # Wenn temporäre cil-Datei vorhanden ist, benenne sie um. [ -s "/cache/${mycil}.tmp" ] && mv "/cache/${mycil}.tmp" "/cache/$mycil" # Ist cil-Datei im lokalen Cache vorhanden, kopiere sie in den Ordner $mytarget # auf der Betriebssystempartition. if [ -s "/cache/$mycil" ]; then echo "Kopiere $mycil nach /mnt/$mytarget ..." mkdir -p "/mnt/$mytarget" cp "/cache/$mycil" "/mnt/$mytarget" fi echo "##### POSTSYNC END #####"
# This is the default menu.lst which is automatically used by LINBO for local # boot with reboot workaround. You don't have to provide it under /var/linbo. # # Grub first tries to find the reboot flag (/.linbo.reboot) which was created # by LINBO on the root partition of the os together with the identical grub # flag (/.grub.reboot). # If the reboot flag was found grub sets the root partition accordingly and # compares the two flag files. If they are different grub falls back to the # second menu entry "LINBO LOCAL" and tries to boot the linbo kernel from cache. # If the two flag files were identical grub writes the string "DONE" to the # grub flag file so that they are different on next boot. After that it tries # to boot on three different ways before it falls back to second entry. # For grub commands see http://diddy.boot-land.net/grub4dos/files/commands.htm. default 1 timeout 0 hiddenmenu title REBOOT fallback 1 find --ignore-floppies --ignore-cd --set-root /.linbo.reboot cmp /.linbo.reboot /.grub.reboot || ls FALLBACK write /.grub.reboot DONE ls /boot/grub/menu.lst && configfile /boot/grub/menu.lst ls /menu.lst && configfile /menu.lst chainloader +1 title LINBO LOCAL find --ignore-floppies --ignore-cd --set-root /linbofs.gz kernel /linbo vga=788 quiet initrd /linbofs.gz savedefault 1
# LINBO start.conf fuer Windows XP # Windows XP System auf Partition 1 (FAT32) # Daten auf Partition 2 # Cache auf Partition 3 # Festplatte 20G [LINBO] # globale Konfiguration Cache = /dev/sda7 # lokale Cache Partition Server = 10.16.1.1 Group = acernwt RootTimeout = 600 # automatischer Rootlogout nach 600 Sek. Autopartition = no # keine automatische Partitionsreparatur beim LINBO-Start AutoFormat = no # kein automatisches Formatieren aller Partitionen beim LINBO-Start AutoInitCache = no # kein automatisches Befüllen des Caches beim LINBO-Start DownloadType = torrent # Image-Download per torrent|multicast|rsync, default ist rsync BackgroundFontColor = white ConsoleFontColorStdout = white ConsoleFontColorStderr = red KernelOptions = [Partition] # Start einer Partitionsdefinition, Windows XP Dev = /dev/sda1 # Device-Name der Partition (sda1 = erste Partition auf erster Platte) Size = 104857600 # Partitionsgroesse in kB (Bsp.: ca. 5G) Id = 7 # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, 7 = NTFS, ...) FSType = ntfs # Dateisystem auf der Partition Bootable = no # Bootable-Flag [Partition] # Start einer Partitionsdefinition, Datenpartition Dev = /dev/sda2 # Device-Name der Partition (sda2 = zweite Partition auf erster Platte) Size = 20971520 # Partitionsgroesse in kB (Bsp.: ca. 10G) Id = 83 # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, 7 = NTFS, ...) FSType = ext3 # Dateisystem auf der Partition Bootable = no # Bootable-Flag [Partition] # Definition der Cache-Partition Dev = /dev/sda3 # Device-Name der Partition (sda3 = dritte Partition auf erster Platte) Size = 2097152 # Partitionsgroesse in kB (Bsp.: keine Angabe = Rest der Platte, ca. 5GB) Id = 82 # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, ...) FSType = swap # Dateisystem fuer Cache-Partition (ext4) Bootable = no # Bootable-Flag [Partition] Dev = /dev/sda4 Size = Id = 5 FSType = Bootable = no [Partition] Dev = /dev/sda5 Size = 31457280 Id = 83 FSType = ext4 Bootable = no [Partition] Dev = /dev/sda6 Size = 31457280 Id = c FSType = vfat Bootable = no [Partition] Dev = /dev/sda7 Size = Id = 83 FSType = ext4 Bootable = yes [OS] Name = Windows 7 x86 Version = Description = Windows 7 x86 IconName = winxp.png Image = BaseImage = acernwt.cloop Boot = /dev/sda1 Root = /dev/sda1 Kernel = grub.exe Initrd = StartEnabled = yes SyncEnabled = yes NewEnabled = no Hidden = yes Autostart = no AutostartTimeout = 5 DefaultAction = start [OS] Name = Debain Version = 12.04 LTS Description = IconName = ubuntu.png Image = BaseImage = precise-lolo4711.cloop Boot = /dev/sda2 Root = /dev/sda2 Kernel = vmlinuz Initrd = initrd.img Append = StartEnabled = yes SyncEnabled = yes NewEnabled = yes Hidden = yes Autostart = no AutostartTimeout = DefaultAction = start [OS] Name = Daten Version = Description = IconName = Image = BaseImage = VBox.cloop Boot = /dev/sda5 Root = /dev/sda5 Kernel = vmlinuz Initrd = initrd.img Append = StartEnabled = no SyncEnabled = yes NewEnabled = no Hidden = yes Autostart = no AutostartTimeout = DefaultAction = start
_______________________________________________ linuxmuster-user mailing list linuxmuster-user@lists.linuxmuster.net https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user