Hallo liebe Community!!!
Ich habe das debian System "squeeze 6.0.5" von CD-Image Netinst auf ein USB-16G installiert.
was soll ich als nächstes tun?
CD-img netinst auf USB installieren
-
- Beiträge: 2493
- Registriert: 01.10.2006 13:19:37
- Lizenz eigener Beiträge: GNU General Public License
Re: CD-img netinst auf USB installieren
Hallo,kmrish hat geschrieben:Hallo liebe Community!!!
Ich habe das debian System "squeeze 6.0.5" von CD-Image Netinst auf ein USB-16G installiert.
was soll ich als nächstes tun?
Willkommen im DF
![Smile :-)](./images/smilies/icon_smile.gif)
Die frage was du tun sollst hängt davon ab was du tun möchtest.
Ich gehe mal davon aus, das du dir Debian auf einem Rechner installieren möchtest. Wenn du also das Installationsabbild richtig auf den USB Stick gebracht hast solltest du von diesem deinen Rechner Booten, damit startet dann der Debian-Installer und du kannst Debian installieren.
Installationshandbücher:
http://www.debian.org/releases/stable/installmanual
Allgemeine Informationsquellen von DebianforumUsern zusammengestellt:
http://debianforum.de/forum/viewtopic.php?f=27&t=100492
viel Erfolg
Gruß niesommer
Gruß niesommer
Re: CD-img netinst auf USB installieren
Ich wollte mich selbst mit Linux-Systeme vertraut machen.
Danach will ich das Pandaboard mit Linux treiben, und langsam langsam die Funktion selbst entdecken.
Ich beschäftige mich damit seit ca 2 Wochen, bis dato habe ich das das Debian squeeze mindestens 10 mal installiert.
einmal auf die Festplatte neben win7 anderes mal auf usb-Stick. und zuletzt habe ich es manuell installiert.
Leider von diesen Versuchen hat es nur zwei mal richtig funktioniert.
Ich verwende dafür immer das selbe Medium und zwar cd_ima squeeze-6.0.5.
Mein wünsch ist das, dass ich das Linux auf usb stick installiere und die überall mitnehme und von verschiede Rechner booten kann.
Die Probleme, mit denen jedes mal konfrontier ist das:
*) Bei Installation ist das Download von Firmewar extrem Langsam letztes mal hats ca 2 tage gedauert.
Amanfang war alle Installprozesse sehr schnell, sodass inerhalb von 30 Min die installation beendet ist.
aber seit kurzem ist die Installation extrem langsam vor allem bei Download von Firmewaren.
*) Nach der Installtion taucht fast immer das Grub-Problem.
Ich habe mich durch google so viel Informiert, dass ich selber das system auf usb manuell installiert.
hier gebe ich die schritte bekannt, fals irgendwas nicht korrekt bitte ich um Korregieren.:
A) USB-Partitionieren über fdisk-Programm
root@debian:/# fdisk /dev/sdb
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): d
Partition number (1-4): 1
4. Command (m for help): d
Partition number (1-4): 2
Command (m for help): p
Disk /dev/sdb: 8254 MB, 8254357504 bytes
254 heads, 62 sectors/track, 1023 cylinders, total 16121792 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6f20736b
Device Boot Start End Blocks Id System
3. 8254389760 bytes : 512 : 63 : 255 = 1003,53
1. Command (m for help): x
2. Expert command (m for help): h
Number of heads (1-256, default 254): 255
4. Expert command (m for help): s
Number of sectors (1-63, default 62): 63
6. Expert command (m for help): c
Number of cylinders (1-1048576, default 1023): 1003
7. Expert command (m for help): f
Nothing to do. Ordering is correct already.
8. Expert command (m for help): p
Disk /dev/sdb: 255 heads, 63 sectors, 1003 cylinders
Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
1 00 0 0 0 0 0 0 0 0 00
2 00 0 0 0 0 0 0 0 0 00
3 00 0 0 0 0 0 0 0 0 00
4 00 0 0 0 0 0 0 0 0 00
7. Expert command (m for help): r
Command (m for help): p
Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders, total 16121855 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a6fd19d
Device Boot Start End Blocks Id System
3. Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
1. Partition number (1-4): 1
2. First cylinder (1-1003, default 1): Enter
Using default value 2048 Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-1003, default 1003): +512M
4. Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
1. Partition number (1-4): 2
2. First cylinder (67-1003, default 67): +1G
Using default value 133120
4. Last cylinder, +cylinders or +size{K,M,G} (131-1003, default 1003): Enter
Using default value 1003
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 3
First cylinder (67-1003, default 67):
Using default value 67
Last cylinder, +cylinders or +size{K,M,G} (67-130, default 130):
Using default value 130
Command (m for help): p
Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a6fd19d
Device Boot Start End Blocks Id System
/dev/sdb1 1 66 530113+ 83 Linux
/dev/sdb2 131 1003 7012372+ 83 Linux
/dev/sdb3 67 130 514080 83 Linux
5. Command (m for help): t
1. Command (m for help):1
2. Command (m for help):L
3. Command (m for help):b
2. Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 82
Changed system type of partition 2 to 82 (Linux swap / Solaris)
6. Command (m for help):a
1. Command (m for help):1
Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a6fd19d
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 66 530113+ b W95 FAT32
/dev/sdb2 131 1003 7012372+ 82 Linux swap / Solaris
/dev/sdb3 67 130 514080 83 Linux
Partition table entries are not in disk order
Command (m for help): x
Expert command (m for help): f
Done.
Expert command (m for help): r
Command (m for help): v
Remaining 8722 unallocated 512-byte sectors
7. Command (m for help):w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
root@debian:/#
root@debian:/# fdisk -l /dev/sdb
Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a6fd19d
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 66 530113+ b W95 FAT32
/dev/sdb2 67 130 514080 83 Linux
/dev/sdb3 131 1003 7012372+ 82 Linux swap / Solaris
root@debian:/# shutdown -r now
root@debian:/# fdisk -l /dev/sdb
Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a6fd19d
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 66 530113+ b W95 FAT32
/dev/sdb2 67 130 514080 83 Linux
/dev/sdb3 131 1003 7012372+ 82 Linux swap / Solaris
root@debian:/#
---------------------------------------------------------------------------------------------------------------------
B) Creating filesystems
1. Ich habe sdb2 mit ext3. Formatiert
root@debian:/# mkfs -t ext3 /dev/sdb2
2. ich habe der Partition einen Namen zugeordnet (myfs)
root@debian:/# e2label /dev/sdb2 myfs
3. finde ich die uuid für diese Partitio
root@debian:/# blkid /dev/sdb2
/dev/sdb2: LABEL="myfs" UUID="f7488e2a-2c7b-4b21-8904-1d6c72562715" SEC_TYPE="ext2" TYPE="ext3"
4. Ich habe sdb1 mit vfat formatiert
root@debian:/# mkfs -t vfat -n WLexch /dev/sdb1
man muss zuerst die Partition umount!!
5. Ich habe die Partition 3 mit swap formatiert
root@debian:/# mkswap /dev/sdb3
Setting up swapspace version 1, size = 7012368 KiB
no label, UUID=7347f0ac-c8d8-41bb-8706-baa72a052285
6. Swap Partition aktivieren
root@debian:/#sync root@debian:/#swapon /dev/sdb2
--------------------------------------------------------------------------------------------------------------------------------------------------------------
C) Debian-Basissystem installieren
Das Programm, das auch der Debian-Installer benutzt und das als offizielle Methode angesehen wird, ein Debian-Basissystem zu installieren, ist debootstrap
1) Download debootstrap
root@debian:/makedb/workshop# cp /home/salima/Desktop/debootstrap_1.0.48_all.deb .
2) Extrahieren die Dateien
root@debian:/makedb/workshop# ar -xf debootstrap_1.0.48_all.deb
3)root@debian:/makedb/workshop# zcat /makedb/workshop/data.tar.gz | tar xv
4)Debootstrap starten
root@debian:/makedb/workshop# /usr/sbin/debootstrap --arch=armel wheezy /mnt/debinst http://ftp.de.debian.org/debian
W: Failure trying to run: chroot /mnt/debinst mount -t proc proc /proc
W: See /mnt/debinst/debootstrap/debootstrap.log for details
root@debian:/mnt/debinst/debootstrap# /usr/sbin/debootstrap --arch i386 squeeze /mnt/debinst http://ftp.at.debian.org/debian
Base system installed successfully.
--------------------------------------------------------------------------------------------------------
D)Das Basissystem konfigurieren
1)Wechseln mit chroot hinein
root@debian:/makedb/workshop# LANG=C.UFT-8 chroot /mnt/debinst /bin/bash
root@debian:/#
Jetzt bin ich im root von anderen Gerät/Festplatte
2)
root@debian:/# export TERM=xterm-color
3) Gerätedateien erzeugen
root@debian:/dev# apt-get install makedev
# cd /dev
4)root@debian:/dev# MAKEDEV generic
.udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
5)root@debian:# mv udev .udev mount -t proc proc /proc
6)root@debian:# cd dev
7)root@debian:/dev# mv udev .udev mv .udev udev
root@debian:/dev# apt-get install makedev
9)root@debian:/dev# MAKEDEV generic
10)root@debian:/dev# mv udev .udev
11)root@debian:/dev# umount /proc
------------------------------------------------------------------------------------------------
E) Partitionen einbinden
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
UUID=4efd8a49-1fea-476b-83f4-c3f527cf4cc5 / ext3 errors=remount-ro 0 1
UUID=e2073746-fe4f-4990-a109-b35546dd06b1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sdb3 /mnt/debinst ext3 rw,nosuid,nodev 0 2
/dev/sdb2 none swap sw 0 0
1)cd /media
2)# mkdir cdrom0
3)# ln -s cdrom0 cdrom
4)# cd /
5)# ln -s media/cdrom
6)root@debian:/# mount -t proc proc /proc
# mount -t proc proc /mnt/debinst/proc
----------------------------------------------------------------------------------------------------------
F)Die Zeitzone setzen
1)
root@debian:/# nano /etc/adjtime
0.0 0 0.0
0
UTC
2)root@debian:/# dpkg-reconfigure tzdata
------------------------------------------------------------------------------------------
G) Das Netzwerk konfigurieren
1) # editor /etc/network/interfaces
root@debian:/# nano etc/network/interfaces
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp
2)
root@debian:/# nano /etc/resolv.conf
# Generated by NetworkManager
nameserver 212.186.211.21
nameserver 195.34.133.21
3) Hostnamen Ihres Systems
echo DebianHostName > /etc/hostname
-------------------------------------------------------------------------------------------------------
H)Apt konfigurieren
#
#deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 NETINST Binary-1 20120512-20:43]/ squeeze main
#deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 NETINST Binary-1 20120512-20:43]/ squeeze main
deb http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze main contrib non-free
deb-src http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib
deb http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze-updates main contrib
deb-src http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze-updates main contrib
deb http://www.emdebian.org/debian squeeze main
deb http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze-proposed-updates contrib non-free main
deb-src http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze-proposed-updates contrib non-free main
deb http://deb.opera.com/opera/ stable non-free
-------------------------------------------------------------------------------------------------------------------------------
I)Das Gebietsschema (Locales) konfigurieren
Um Ihre lokalen Einstellungen anzupassen, wenn Sie nicht Englisch verwenden möchten, installieren Sie das Paket locales und konfigurieren es. Es wird die Verwendung von UTF-8-Gebietsschemata empfohlen.
root@debian:/# aptitude install locales
root@debian:/# dpkg-reconfigure locales
---------------------------------------------------------------------------------
j)Einen Kernel installieren
1)
root@debian:/# apt-cache search linux-image
2)
root@debian:/# aptitude install linux-image-2.6.32-5-openvz-686
W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3
apt-get install firmware-linux-free firmware-linux-nonfree
-----------------------------------------------------------------------------------------------------------------------------------------
K) Den Bootloader einrichten
root@debian:/boot# aptitude install grub
Upgrading from GRUB Legacy. │
GRUB 0.97, the Legacy version of GNU GRUB, is from now on considered a deprecated option. Your system is now │
being upgraded to GRUB 2. │
Installation finished. No error reported.
root@debian:/mnt/debinst/boot/grub# cd /
root@debian:/# cat /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
root@debian:/# mv /boot/grub/device.map /boot/grub/device.map.backup
root@debian:/# grub-mkdevicemap
root@debian:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-5-openvz-686
Found initrd image: /boot/initrd.img-2.6.32-5-openvz-686
Cannot find list of partitions! (Try mounting /sys.)
done
root@debian:/# cat /boot/grub/device.map
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
Danach will ich das Pandaboard mit Linux treiben, und langsam langsam die Funktion selbst entdecken.
Ich beschäftige mich damit seit ca 2 Wochen, bis dato habe ich das das Debian squeeze mindestens 10 mal installiert.
einmal auf die Festplatte neben win7 anderes mal auf usb-Stick. und zuletzt habe ich es manuell installiert.
Leider von diesen Versuchen hat es nur zwei mal richtig funktioniert.
Ich verwende dafür immer das selbe Medium und zwar cd_ima squeeze-6.0.5.
Mein wünsch ist das, dass ich das Linux auf usb stick installiere und die überall mitnehme und von verschiede Rechner booten kann.
Die Probleme, mit denen jedes mal konfrontier ist das:
*) Bei Installation ist das Download von Firmewar extrem Langsam letztes mal hats ca 2 tage gedauert.
Amanfang war alle Installprozesse sehr schnell, sodass inerhalb von 30 Min die installation beendet ist.
aber seit kurzem ist die Installation extrem langsam vor allem bei Download von Firmewaren.
*) Nach der Installtion taucht fast immer das Grub-Problem.
Ich habe mich durch google so viel Informiert, dass ich selber das system auf usb manuell installiert.
hier gebe ich die schritte bekannt, fals irgendwas nicht korrekt bitte ich um Korregieren.:
A) USB-Partitionieren über fdisk-Programm
root@debian:/# fdisk /dev/sdb
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): d
Partition number (1-4): 1
4. Command (m for help): d
Partition number (1-4): 2
Command (m for help): p
Disk /dev/sdb: 8254 MB, 8254357504 bytes
254 heads, 62 sectors/track, 1023 cylinders, total 16121792 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6f20736b
Device Boot Start End Blocks Id System
3. 8254389760 bytes : 512 : 63 : 255 = 1003,53
1. Command (m for help): x
2. Expert command (m for help): h
Number of heads (1-256, default 254): 255
4. Expert command (m for help): s
Number of sectors (1-63, default 62): 63
6. Expert command (m for help): c
Number of cylinders (1-1048576, default 1023): 1003
7. Expert command (m for help): f
Nothing to do. Ordering is correct already.
8. Expert command (m for help): p
Disk /dev/sdb: 255 heads, 63 sectors, 1003 cylinders
Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
1 00 0 0 0 0 0 0 0 0 00
2 00 0 0 0 0 0 0 0 0 00
3 00 0 0 0 0 0 0 0 0 00
4 00 0 0 0 0 0 0 0 0 00
7. Expert command (m for help): r
Command (m for help): p
Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders, total 16121855 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a6fd19d
Device Boot Start End Blocks Id System
3. Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
1. Partition number (1-4): 1
2. First cylinder (1-1003, default 1): Enter
Using default value 2048 Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-1003, default 1003): +512M
4. Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
1. Partition number (1-4): 2
2. First cylinder (67-1003, default 67): +1G
Using default value 133120
4. Last cylinder, +cylinders or +size{K,M,G} (131-1003, default 1003): Enter
Using default value 1003
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 3
First cylinder (67-1003, default 67):
Using default value 67
Last cylinder, +cylinders or +size{K,M,G} (67-130, default 130):
Using default value 130
Command (m for help): p
Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a6fd19d
Device Boot Start End Blocks Id System
/dev/sdb1 1 66 530113+ 83 Linux
/dev/sdb2 131 1003 7012372+ 83 Linux
/dev/sdb3 67 130 514080 83 Linux
5. Command (m for help): t
1. Command (m for help):1
2. Command (m for help):L
3. Command (m for help):b
2. Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 82
Changed system type of partition 2 to 82 (Linux swap / Solaris)
6. Command (m for help):a
1. Command (m for help):1
Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a6fd19d
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 66 530113+ b W95 FAT32
/dev/sdb2 131 1003 7012372+ 82 Linux swap / Solaris
/dev/sdb3 67 130 514080 83 Linux
Partition table entries are not in disk order
Command (m for help): x
Expert command (m for help): f
Done.
Expert command (m for help): r
Command (m for help): v
Remaining 8722 unallocated 512-byte sectors
7. Command (m for help):w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
root@debian:/#
root@debian:/# fdisk -l /dev/sdb
Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a6fd19d
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 66 530113+ b W95 FAT32
/dev/sdb2 67 130 514080 83 Linux
/dev/sdb3 131 1003 7012372+ 82 Linux swap / Solaris
root@debian:/# shutdown -r now
root@debian:/# fdisk -l /dev/sdb
Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a6fd19d
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 66 530113+ b W95 FAT32
/dev/sdb2 67 130 514080 83 Linux
/dev/sdb3 131 1003 7012372+ 82 Linux swap / Solaris
root@debian:/#
---------------------------------------------------------------------------------------------------------------------
B) Creating filesystems
1. Ich habe sdb2 mit ext3. Formatiert
root@debian:/# mkfs -t ext3 /dev/sdb2
2. ich habe der Partition einen Namen zugeordnet (myfs)
root@debian:/# e2label /dev/sdb2 myfs
3. finde ich die uuid für diese Partitio
root@debian:/# blkid /dev/sdb2
/dev/sdb2: LABEL="myfs" UUID="f7488e2a-2c7b-4b21-8904-1d6c72562715" SEC_TYPE="ext2" TYPE="ext3"
4. Ich habe sdb1 mit vfat formatiert
root@debian:/# mkfs -t vfat -n WLexch /dev/sdb1
man muss zuerst die Partition umount!!
5. Ich habe die Partition 3 mit swap formatiert
root@debian:/# mkswap /dev/sdb3
Setting up swapspace version 1, size = 7012368 KiB
no label, UUID=7347f0ac-c8d8-41bb-8706-baa72a052285
6. Swap Partition aktivieren
root@debian:/#sync root@debian:/#swapon /dev/sdb2
--------------------------------------------------------------------------------------------------------------------------------------------------------------
C) Debian-Basissystem installieren
Das Programm, das auch der Debian-Installer benutzt und das als offizielle Methode angesehen wird, ein Debian-Basissystem zu installieren, ist debootstrap
1) Download debootstrap
root@debian:/makedb/workshop# cp /home/salima/Desktop/debootstrap_1.0.48_all.deb .
2) Extrahieren die Dateien
root@debian:/makedb/workshop# ar -xf debootstrap_1.0.48_all.deb
3)root@debian:/makedb/workshop# zcat /makedb/workshop/data.tar.gz | tar xv
4)Debootstrap starten
root@debian:/makedb/workshop# /usr/sbin/debootstrap --arch=armel wheezy /mnt/debinst http://ftp.de.debian.org/debian
W: Failure trying to run: chroot /mnt/debinst mount -t proc proc /proc
W: See /mnt/debinst/debootstrap/debootstrap.log for details
root@debian:/mnt/debinst/debootstrap# /usr/sbin/debootstrap --arch i386 squeeze /mnt/debinst http://ftp.at.debian.org/debian
Base system installed successfully.
--------------------------------------------------------------------------------------------------------
D)Das Basissystem konfigurieren
1)Wechseln mit chroot hinein
root@debian:/makedb/workshop# LANG=C.UFT-8 chroot /mnt/debinst /bin/bash
root@debian:/#
Jetzt bin ich im root von anderen Gerät/Festplatte
2)
root@debian:/# export TERM=xterm-color
3) Gerätedateien erzeugen
root@debian:/dev# apt-get install makedev
# cd /dev
4)root@debian:/dev# MAKEDEV generic
.udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
5)root@debian:# mv udev .udev mount -t proc proc /proc
6)root@debian:# cd dev
7)root@debian:/dev# mv udev .udev mv .udev udev
![Cool 8)](./images/smilies/icon_cool.gif)
9)root@debian:/dev# MAKEDEV generic
10)root@debian:/dev# mv udev .udev
11)root@debian:/dev# umount /proc
------------------------------------------------------------------------------------------------
E) Partitionen einbinden
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
UUID=4efd8a49-1fea-476b-83f4-c3f527cf4cc5 / ext3 errors=remount-ro 0 1
UUID=e2073746-fe4f-4990-a109-b35546dd06b1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sdb3 /mnt/debinst ext3 rw,nosuid,nodev 0 2
/dev/sdb2 none swap sw 0 0
1)cd /media
2)# mkdir cdrom0
3)# ln -s cdrom0 cdrom
4)# cd /
5)# ln -s media/cdrom
6)root@debian:/# mount -t proc proc /proc
# mount -t proc proc /mnt/debinst/proc
----------------------------------------------------------------------------------------------------------
F)Die Zeitzone setzen
1)
root@debian:/# nano /etc/adjtime
0.0 0 0.0
0
UTC
2)root@debian:/# dpkg-reconfigure tzdata
------------------------------------------------------------------------------------------
G) Das Netzwerk konfigurieren
1) # editor /etc/network/interfaces
root@debian:/# nano etc/network/interfaces
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp
2)
root@debian:/# nano /etc/resolv.conf
# Generated by NetworkManager
nameserver 212.186.211.21
nameserver 195.34.133.21
3) Hostnamen Ihres Systems
echo DebianHostName > /etc/hostname
-------------------------------------------------------------------------------------------------------
H)Apt konfigurieren
#
#deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 NETINST Binary-1 20120512-20:43]/ squeeze main
#deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 NETINST Binary-1 20120512-20:43]/ squeeze main
deb http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze main contrib non-free
deb-src http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib
deb http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze-updates main contrib
deb-src http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze-updates main contrib
deb http://www.emdebian.org/debian squeeze main
deb http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze-proposed-updates contrib non-free main
deb-src http://gd.tuwien.ac.at/opsys/linux/debian/ squeeze-proposed-updates contrib non-free main
deb http://deb.opera.com/opera/ stable non-free
-------------------------------------------------------------------------------------------------------------------------------
I)Das Gebietsschema (Locales) konfigurieren
Um Ihre lokalen Einstellungen anzupassen, wenn Sie nicht Englisch verwenden möchten, installieren Sie das Paket locales und konfigurieren es. Es wird die Verwendung von UTF-8-Gebietsschemata empfohlen.
root@debian:/# aptitude install locales
root@debian:/# dpkg-reconfigure locales
---------------------------------------------------------------------------------
j)Einen Kernel installieren
1)
root@debian:/# apt-cache search linux-image
2)
root@debian:/# aptitude install linux-image-2.6.32-5-openvz-686
W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3
apt-get install firmware-linux-free firmware-linux-nonfree
-----------------------------------------------------------------------------------------------------------------------------------------
K) Den Bootloader einrichten
root@debian:/boot# aptitude install grub
Upgrading from GRUB Legacy. │
GRUB 0.97, the Legacy version of GNU GRUB, is from now on considered a deprecated option. Your system is now │
being upgraded to GRUB 2. │
Installation finished. No error reported.
root@debian:/mnt/debinst/boot/grub# cd /
root@debian:/# cat /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
root@debian:/# mv /boot/grub/device.map /boot/grub/device.map.backup
root@debian:/# grub-mkdevicemap
root@debian:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-5-openvz-686
Found initrd image: /boot/initrd.img-2.6.32-5-openvz-686
Cannot find list of partitions! (Try mounting /sys.)
done
root@debian:/# cat /boot/grub/device.map
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
Re: CD-img netinst auf USB installieren
Ich bin gerade mit der Installation fertig und hab ich jetzt kommisches Problem und zwar ich kann mich als root nicht anmelden!!
Dass ich das passwd vertippt kann sicher ausschließen, denn ich es aufgeschrieben habe.
kmrish@debs:~$ su Enter
passwort: ***** Enter
SU: Fehler bei Authentifizierung
Danke für jede Hinweis.
Dass ich das passwd vertippt kann sicher ausschließen, denn ich es aufgeschrieben habe.
kmrish@debs:~$ su Enter
passwort: ***** Enter
SU: Fehler bei Authentifizierung
Danke für jede Hinweis.
Re: CD-img netinst auf USB installieren
Klassisches Layoutproblem? Also beim Einrichten qwerty, und Passwort mit z, y oder Umlauten bzw. Sonderzeichen?
Edit: um das auszuschließen: Passwort sichtbar eingeben, su, sichtbares Passwort mit Maus markieren und mittlere Maustaste zum Einfügen nehmen.
cu,
niemand
Edit: um das auszuschließen: Passwort sichtbar eingeben, su, sichtbares Passwort mit Maus markieren und mittlere Maustaste zum Einfügen nehmen.
cu,
niemand
Re: CD-img netinst auf USB installieren
das kann nicht sein!
denn mein passwd lautet "********"
Danke
denn mein passwd lautet "********"
Danke
Zuletzt geändert von TRex am 14.04.2013 16:38:44, insgesamt 1-mal geändert.
Grund: Passwörter egal welcher Art bitte nicht öffentlich posten.
Grund: Passwörter egal welcher Art bitte nicht öffentlich posten.
Re: CD-img netinst auf USB installieren
das problem ist jetzt gelöst.
durch das Live-cd:
su newroot
passwd
neues passwd
bestätigung des passwd
durch das Live-cd:
su newroot
passwd
neues passwd
bestätigung des passwd