Bootable USB from DVD or Net-install
by:
http://en.opensuse.org/SDB:Live_USB_stick#Create_a_Live_USB_.28GUI.29
[edit] Download DVD ISO
Download one of the DVD or Net Installation images from http://software.opensuse.org/Linux instructions1. Install syslinux/isohybridIf you would like to boot the from a USB stick then you can make the ISO bootable by installing syslinux.# zypper in syslinux # isohybrid openSUSE-12.1-DVD-x86_64.isoOnce completed just follow whichever set of above LiveUSB instructions you like, and take care to read the Booting from USB-DVD section below afterward, like the instructions below. |
2. Find Block Device
Plug-in your USB stick and find what "/dev/disk*" it is mapped to by opening Terminal and executing:# diskutil list
This will print out the list of currently mapped devices/partitions. Find the USB using "NAME" column. Then note the corresponding /dev/disk*. For example:
/dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: FAT32 2.0 GB disk0 1: USB2 2.0 GB disk0s1In this case /dev/disk2 is the one we want.
Or:
Plug-in your USB stick and find it executing:
# fdisk -l
You can see the results:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x271ebf44
Device Boot Start End Blocks Id System
/dev/sda1 2048 3074047 1536000 27 Hidden NTFS WinRE
/dev/sda2 * 3074048 488396799 242661376 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 16.0 GB, 16022241280 bytes
82 heads, 18 sectors/track, 21201 cylinders, total 31293440 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: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 8064 31293439 15642688 c W95 FAT32 (LBA)
where your 16 GB flash device, in this case, is /dev/sdb1
3. Unmount USB Stick
Unmount the USB stick# diskutil unmountDisk /dev/disk*Where /dev/disk* is the one you have found in previous step.
4. Write ISO to USB
Write the content of the ISO file:# sudo dd if=/path/to/downloaded.iso of=/dev/disk* bs=1MAgain the /dev/disk* is the same one you have found previously. You will be prompted for the administrator's password.
5. Booting from USB-DVD
Write the image to the USB stick using the Windows instructions above.- Hit F4, change the installation source to Hard Drive, but leave all fields blank and hit Enter to close the dialog.
- Type "namescheme=by-label" into the boot options for "Installation" and start the installation; you should go straight to the installer without a hitch.
openSUSE USB Install
by:
http://www.confignotes.com/2011/03/opensuse-usb-install/Installing openSUSE 11.4 using a USB drive.
Download the openSUSE-11.4-DVD-x86_64.iso file for 64bit x86 system. I used another Linux system to prepare the USB drive, you can also boot from a Linux live DVD. Need at least an 8GB USB drive, openSUSE 11.4 iso is 4.3GB.
1. Erase USB drive using dd:
Use dmesg to identify the USB drive device (example: sdb). Or (a better option):
Para saber qual é essa identificação, com o pendrive conectado no computador, digite no terminal o comando:
# fdisk -l
O resultado aparecerá na janela do terminal. Veja a imagem abaixo que mostra o resultado do comando fdisk e na outra imagem o resultado do comando dd. O pendrive, nesse caso, é o ultimo da lista, sendo o dispositivo /dev/sdc1.
O comando, neste exemplo, ficaria assim:
# dd if=openSUSE-11.2-KDE4-LiveCD-i686.iso of=/dev/sdc bs=4M
# dd if=/dev/zero of=/dev/sdb bs=65536 count=10000
2. Use zypper to update the syslinux:
# zypper in syslinux
3. Run isohybrid, isohybrid is availabe with the updated syslinux:
# isohybrid /path…/openSUSE-11.4-DVD-x86_64.iso
where path… is the directory location of the openSUSE iso.
4. Write the content of the iso file to the USB drive:
# dd if=/path…/openSUSE-11.4-DVD-x86_64.iso of=/dev/sdb bs=1M
Boot from the USB flash drive to install openSUSE 11.4
Note: You’ll get a warning when you run isohyrid:
Warning: more than 1024 cylinders (4403).
Not all BIOSes will be able to boot this device.
The cylinder=1024. It should be ok to procede if you have a newer system (south bridge that support SATA). The section of isohybrid perl scripts that displayed the error looks like this:
$c = int($imgsize/$cylsize);
if ($c > 1024) {
print STDERR “Warning: more than 1024 cylinders ($c).\n”;
print STDERR “Not all BIOSes will be able to boot this device.\n”;
$cc = 1024;
} else {
$cc = $c;
}
Nenhum comentário:
Postar um comentário