http://ftp.br.debian.org/debian/dists/stable/main/installer-amd64/current/images/hd-media/boot.img.gz
http://debian.pop-sc.rnp.br/debian-cd/6.0.5/amd64/iso-cd/debian-6.0.5-amd64-netinst.iso
[root@bl ~]# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.21.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Command (m for help): p
Disk /dev/sdb: 7933 MB, 7933526016 bytes
255 heads, 63 sectors/track, 964 cylinders, total 15495168 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: 0x1d459011
Device Boot Start End Blocks Id System
/dev/sdb1 * 0 1320959 660480 0 Empty
/dev/sdb2 164 1299 568 ef EFI (FAT-12/16/32)
/dev/sdb3 1348 3587 1120 0 Empty
Command (m for help): d
Partition number (1-4): 3
Warning: partition 3 has empty type
Partition 3 is deleted
Command (m for help): d
Partition number (1-4): 2
Partition 2 is deleted
Command (m for help): d
Selected partition 1
Partition 1 is deleted
Command (m for help): 1
1: unknown command
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help): p
Disk /dev/sdb: 7933 MB, 7933526016 bytes
255 heads, 63 sectors/track, 964 cylinders, total 15495168 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: 0x1d459011
Device Boot Start End Blocks Id System
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-15495167, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-15495167, default 15495167):
Using default value 15495167
Partition 1 of type Linux and of size 7.4 GiB is set
Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 6
Changed system type of partition 1 to 6 (FAT16)
Command (m for help): a
Partition number (1-4): 1
Command (m for help): p
Disk /dev/sdb: 7933 MB, 7933526016 bytes
255 heads, 63 sectors/track, 964 cylinders, total 15495168 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: 0x1d459011
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 15495167 7746560 6 FAT16
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@bl ~]#
[root@bl ~]# mkfs.vfat -I -F 32 -n usbdisk /dev/sdb
mkfs.vfat 3.0.12 (29 Oct 2011)
[root@bl ~]#
[root@bl ~]# zcat boot.img.gz > /dev/sdb
[root@bl ~]# cp debian-6.0.5-amd64-netinst.iso /run/media/leo/Debian\ Inst/
Nenhum comentário:
Postar um comentário