Suse linux from usb

SDB:Create a Live USB stick using Windows

Version: 12.2+ This applies to openSUSE 12.2 and above.

Contents

Using Etcher

  1. Download the current ISO image of openSUSE Leap or Tumbleweed. The filename ends with «.iso».
  2. Download, install and start Etcher
  3. Select the openSUSE .iso file you just downloaded using the «Select Image» button.
  4. Plug a USB drive into you computer, if it’s the only drive connected to your computer, it will be automatically selected. If not, select it.

Using Rufus

  1. Download the current ISO image of openSUSE Leap or Tumbleweed. The filename ends with «.iso».
  2. Download and start Rufus
  3. Plug a USB drive into you computer and select it in Rufus (see screenshot)

Using ImageUSB

Download ImageUSB and follow the instructions on their page.

Using SUSE Studio ImageWriter

We used to have SUSE Studio ImageWriter compiled for windows, but this is not maintained anymore. Feel free to fork it and build/maintain the windows version yourself.

Using GRUB4DOS

This method will keep all current data in your USB medium. Demonstration is provided in this video. Note: These instruction will not work, if your computer boots via UEFI (like most computers made after

2011-2012 and all computers with preinstalled Windows 8/8.1/10); at first you must go to BIOS, enable Legacy boot (i.e. dissable UEFI/secure boot option)!

  • Copy ISO into «boot» folder of USB flash.
  • Extract «initrd» and «linux» files into «boot» folder of USB medium. These files located in boot\i386\loader or boot\x86_64\loader directory of ISO image. For ISO mounting you can use, for example, Pismo File Mount Audit Package.
  • GRUB4DOS installation into MBR of USB flash:
    1. download RMPrepUSB and install it;
    2. start RMPrepUSB;
    3. select your medium;
    4. click «Install GRUB4DOS»;
    5. confirm GRUB installation to MBR;
    6. confirm GRUB installation to selected medium;
    7. confirm GRLDR copying into selected medium.
  • Create «menu.lst» file in root folder of USB key. Content of «menu.lst» should be (in both places – in line 2 and in line 5 – replace openSUSE.iso with real name of your ISO file):

Reboot your computer from USB stick.

Troubleshooting

Verifying checksum of downloaded files

If you need to verify that the file you’ve just downloaded is correct, you can use the CertUtil program (At least on windows10)

Write access problems

If you get write access problems with the USB drive you can try to reformat the drive in Windows prior to writing the image.

This situation would happen very rarely, but in the even that your computer doesn’t boot from the LiveUSB/DVD from the steps above, you might try the following procedure.

Unlike fdisk, diskpart will perform changes as you enter them, therefore, there is no write instruction.

Источник

Create installation USB stick

Tested on openSUSE

Contents

Requirements

Download installation images

You need to download a DVD or Network installation image (ISO file) before creating the installation USB stick.

A large capacity USB stick

To write DVD images, your USB stick must have at least 5 GB storage space.

To write Network images, your USB stick must have at least 100 MB storage space.

NOTE: All data in the USB stick will be erased! Backup all contents before writing the images.

A working PC

You need a working PC to run the bootable USB creation tool. ImageWriter can be run on openSUSE. UNetbootin can be run on other Linux distributions, Microsoft Windows and Apple macOS.

Create bootable USB stick

Imagewriter (openSUSE)

  1. Open YaST —> Software Management
  2. Search and install «imagewriter» package
  3. Open «SUSE Studio Imagewriter»
  4. Select downloaded image (*.iso file)
  5. Select the USB device
  6. Click «Write» button

It takes several minutes or longer, depending on image size and hardware performance.

Universal USB Installer (Windows)

Note: Universal USB Installer only supports ISO files up to a maximum size of 4 GiB, which can be exceeded by some openSUSE DVD images. In this case, use UNetbootin for Windows as described below.

  1. Download Universal USB Installer (GPLv2)
  2. Run it. You will see a simple application window.
  3. Select Linux distribution «openSUSE».
  4. Select downloaded image.
  5. Select the USB device.
  6. Click «Create» button.

It takes several minutes or longer, depending on image size and hardware performance.

UNetbootin (OpenSUSE)

  1. Install unetbootin via zypper
  1. Figure out which drive is your USB stick you wish to overwrite
  1. Wipe out the partition table of your USB stick to avoid issues with existing contents
  1. select /dev/sdc ( if your usb stick is /dev/sdc )
  2. p ( to print existing partitions )
  3. rm 1 ( to remove first partition )
  4. mklabel gpt ( to wipe device and make it GPT )
  5. mkpart primary ext4 1 -1 ( fill entire USB drive with ext4 partition )
  6. set 1 boot on ( make the new partition bootable )
  7. quit
  1. Unplug and replug the USB stick to have OpenSUSE automount /dev/sdc1
  2. Run unetbootin with environment variable to avoid UI bug
  1. Select radio button
  2. Click . and open previously downloaded iso file
  3. Select Type: is not already selected
  4. Select Drive: if not already selected
  5. Click OK
  6. Exit unetbootin
  7. Eject the USB drive from UI, or run
Читайте также:  Ноутбук noos как установить windows 10

to umount files

UNetbootin (Other Linux, Windows, Mac)

  1. Download UNetbootin (GPLv2)
  2. Run it
  3. Select «Diskimage» radio button
  4. Select «ISO» file type
  5. Click <and open previously downloaded *.iso file
  6. Select device Type: «USB Drive»
  7. Select Drive: «Letter/Name of your USB stick» if not already selected
  8. Click OK

It takes several minutes or longer, depending on image size and hardware performance.

Boot from USB stick

  1. Plug your the USB stick into computer.
  2. Boot or reboot system.
  3. Press F12 and enter boot menu when you see BIOS interface. Quickly! (Some computers use Esc , F8 , F10 for boot menu, you should see it on BIOS screen)
  4. Select your USB stick in the boot menu
  5. Press Enter

System will restart and boot from the USB stick. Then you can follow the normal DVD installation instructions.

Источник

Как создать загрузочную флешку с openSUSE

openSUSE — это свободная операционная система на базе Linux для Вашего ПК, ноутбука или сервера. Вы можете просматривать веб, управлять почтой и фотографиями, выполнять офисную работу, смотреть видео или слушать музыку. Have a lot of fun! Гласит сайт разработчиков. Последняя стабильная версия это openSUSE 11.4 включает в себя новые версии GNOME, KDE, LibreOffice, Firefox, ядра Linux, и многие, многие другие обновления и улучшения. В 11.4 Вы найдете более 1000 рабочих приложений с открытым исходным кодом. openSUSE также включает в себя полный набор серверного программного обеспечения и богатый выбор инструментов для разработки. Кстати Have a lot of fun! это у них слоган такой. Познакомиться ближе с процессом создания загрузочной флешки вы можете уже сейчас, под катом.

Где найти информацию об openSUSE?

Информации больше на английском, чем на русском. Источников информации миллион, изучайте.

About openSUSE

Я питаю нелюбовь ко всем RPM-подобным дистрибутивам, потому что в них нет apt-get, aptitude и dpkg, если этих утилит нет, то дистрибутив можно считать ущербным. Но openSUSE это реально круто, мне он нравиться по тому, что KDE-версия openSUSE это вам не какая-нибудь Kubuntu, это качественный, вылизанный и на 100% рабочий дистрибутив. В openSUSE есть YaST (Yet another Setup Tool), довольно таки стрёмная и проприетарная утилита конфигурации операционной системы и установки/обновления пакетов с ПО, в настоящий момент распространяется по лицензии GPL.

Дистрибутивы openSUSE и SUSE Linux Enterptise заточены под управление посредством YaST, т.е. без YaST они и посрать сходить не смогут, YaST делает всё: управление ПО, on-line обновление, обновление с CD/DVD, установка дополнительных пакетов, используется непосредственно для установки дистрибутива и конфигурации всей системы.

Так же, в openSUSE есть Zypper жалкая копия apt-get для Debian, Zypper (libzypp) — консольный менеджер пакетов который умеет управлять используемыми репозиториями, искать нужные пакеты, устанавливать или удалять их, типа младший брат дистрофик у apt-get’a =) Фанатов openSUSE прошу не обижаться, тут написана правда, тем более, что мне openSUSE нравится.

Как создать загрузочную флешку с openSUSE

Вот тут начинается жопа. openSUSE это вам не Ubuntu. Вообще если у вас на компьютере уже установлена openSUSE, то создать загрузочную флешку с ней не проблема, ибо в openSUSE есть специально заточенная под это утилита SUSE Studio Image Writer , она доступна для загрузки в качестве RPM-пакета.

SUSE Studio Image Writer будет работать в Windows XP и Windows Vista. Внимание, в вашей пиратской Windows 7 может не работать!

Для Debian/Ubuntu пакетов нет! Т.е. deb-пакета утилиты SUSE Studio Image Writer в природе не существует. Теперь есть, вы можете скачать его вот так:

и установить в системе:

Утилита появиться у вас в меню Приложения > Системные утилиты > SUSE Studio ImageWriter. Но её надо запускать с правами root’a так что делаем это так:

Дальше просто следуйте инструкциям и ваш Live USB с openSUSE на борту готов!

Второй метод

Любой кто сидит НЕ на Ubuntu думает, что он Хакер , и что все Убунтоиды просто тупые хомячки (Виндузятников они вообще за людей не считают), которые умеют только обои рабочего стола менять. Жаль им напоминать, что дело не в выборе дистрибутива, а в голове и руках, у кого они есть — тот и крут!

Ладно давайте не спорить. Для создания загрузочную флешку с openSUSE хакерским методом вам будет нужен образ. Ещё нужна флешка, желательно объёмом >= 1GB. Она должна быть пустой и с fat16/fat32 на борту, если это не так, то стоит подготовить её.

Находим флешку в системе:

У меня это /dev/sdc1, у вас может быть что угодно, что-бы вас не путать в дальнейшем, я заменил последнюю букву на Икс /dev/sdX

Проедемся по ней утилитой mkdosfs :

Если опции выше не понятны, то идем читать man mkdosfs.
Убедитесь, что флешка готова:

Заливаем образ на флешку:

Для надежности, восстановим MBR (master boot record) на флешке:

Источник

SuSE installations from USB drive

For a successful install, you should have:

  • SuSE Linux DVD image for i386 or x86_64 architecture, alternatively a Start-CD-Image can be used. This is much smaller and will fit on (almost) any USB drive
  • this modified version of [mkbootdisk] (add option -n to the line «for (`fsck.vfat -v $part 2>/dev/null`) <")
  • an usb key (mini disk is

80kb, cd 650Mb, dvd 4Gb, key must have the corresponding size) or USB hard drive

  • root access to already installed Linux, and ability to work in a console
  • syslinux installed (use YaST)
  • Preparation

    • Open a root xterm or terminal;
    • Plug in the USB drive. The drive should mount automatically — if you use KDE, you can find out which device name is used for the USB drive, by reading it from the window that opens automatically. The partition has a name such as «dev/sdb1». The disk is the device without the trailing digit, e.g., /dev/sdb.

    You can also use

    and look for a device that matches your USB drive. Then check the partition as root type via:

    or, if you know the disk

    The output should have line like

    Here «FAT32» indicates the filesystem. If you see a star (as in the example above), then this means that the bootable flag is set.

    • If the bootable flag is not set (no star), it needs to be set as follows:

    ( is the disk name, e.g. «sdb». It’s not the partion name as «sdb1»). Then press «a», and enter the partition number (e.g. 1, if the partition is sdb1). Save the changes with «w». If the automount prevents the changes from being saved, you can temporarily disable automount using «rcdbus stop» as root.

    • If the filesystem is not FAT32, it needs to be changed:

    Then press «t» (to change the partition type) and «c» (for FAT32). Save the changes with «w».

    • Create the filesystem (beware, this erases all data on the USB drive). To do so you must first unmount the drive:

    is the partition, for example «sdb1»).

    • Make sure that the USB drive is FAT32 formatted:

    If this fails, fix the filesystem with

    Copy files to the USB drive

    • Choose a suitable mount point for the dvd (for example /mnt/dvd) and a mount point for the USB drive (for example /mnt/usb). Create the mount points with
    • Mount the downloaded CD/DVD image (make sure you have loop-device support in your Linux — in openSUSE this is available by default):

    Also mount the USB drive:

    • Copy the downloaded CD/DVD data to the USB drive at the root of the drive
    • Unmount the USB drive (if not, the command mksusebootdisk will fail)

    Make the USB drive bootable

    Make sure the script is executable:

    Install syslinux if it isn’t already:

    Run the script with arch set to 32 for i386, or 64 for x86_64. This should work for any architecture e.g. ppc, IA64.

    This command works reasonably fast. It will fail if you forgot to unmount (using umount) the USB disk. It will also fail (and give a «not a FAT file system» error if you press crtl-c) if the drive has errors. To fix the errors, use

    Installation

    • Make sure the USB device is plugged in.
    • Boot the PC with USB device as the primary boot device or in the first boot order.

    This is entirely depends on your BIOS menu and configurations. If everything goes well the openSUSE boot menu will appear.

    • From the boot menu, choose «Installation» to install a new openSUSE system.

    During setup, the install media will not be automatically found. The setup will fall back to text-mode setup where you can choose the install media location.

    Your media should be in Local hard drive and USB drive should be /dev/sda1 or similar. The setup will ask for the ISO file location on the selected drive. Type in the file path and name. Initial / is required, so if your image is at the root of the drive and has name of dvd.iso, you need to type: /dvd.iso

    Gotchas / Common issues

    Why cannot I just use the mkbootdisk shipped with SuSE Linux

    • The stock mkbootdisk is not capable of writing a FAT32 filesystem.
    • Biggest standard/bootable FAT16 partition is 2 gigabytes. That won’t hold the DVD image.
    • You could create a non-standard FAT16 of 4 gigabytes, but you won’t be able to boot from it. At least most motherboards won’t.

    The PC won’t boot from USB drive

    If no matter what you try, the machine does not boot from the USB drive:

    • Make sure the PC is capable of booting from USB. This information may be difficult to find from manuals or Internet, sometimes USB booting is not supported regardless how new the PC is.
      • Note: removable drive in the BIOS boot menu does not mean USB
    • BIOS setup should have the plugged in USB device in high enough boot priority, make sure that PC won’t boot from hard drive or CD.
    • Some motherboards may have additional restrictions. For example, some Via EPIA mini-itx boards require that the boot partition is no larger than 8MB.
    • Try consulting and/or contributing to the USB Booting Knowledge Base
    Top Visited

    Your browser does not support iframes.

    NEWS CONTENTS

    Old News 😉

    Support How to create a bootable USB drive to install SLES

    Situation

    Resolution

    Creating a bootable USB device from Windows

    1. Extract the contents of the .iso file to a temporary directory like C:\isotemp (A utility such as WinRAR can be used for this)
    2. Assuming the USB device is E: copy the contents of C:\isotemp\boot\i386\loader\* to E:\
      Note: replace i386 with x86_64 if it is 64 bit
    3. Delete E:\isolinux.bin
    4. Rename E:\isolinux.cfg to E:\syslinux.cfg
    5. Download syslinux and extract it to C:\syslinux (Note: this must be downloaded separately from the Internet)
    6. Open a command prompt and change to C:\syslinux\syslinux \win32
    7. Run syslinux E:

    Creating a bootable USB device from Linux
    This example will use /dev/sdb as the USB device.

    Create a FAT16 partition on the USB device:
    (/dev/sdb1 must be a primary partition no more than 4GB in size)
    mkfs.vfat -F 16 /dev/sdb1

    For i386:
    umount /dev/sdb1
    mount -o loop SLES-10-i386-GM-CD1.iso /mnt
    /mnt/boot/i386/mkbootdisk —32 —partition /dev/sdb1 /mnt

    For x86_64:
    umount /dev/sdb1
    mount -o loop SLES-10-x86_64-GM-CD1.iso /mnt
    /mnt/boot/x86_64/mkbootdisk —64 —partition /dev/sdb1 /mnt
    The USB device can then be booted from. For a network installation, select the default ‘linux’ option and enter options for a custom installation server:
    install=ftp://ftpserver.yourhost/install/sles10/arch

    Additional Information

    This application can also be used for SuSE Linux Enterprise Server 9 (SLES 9), however, SLES 9 does not include the mkbootdisk utility so it must be downloaded separately or taken from SLES 10.

    Must be 16 bit FAT
    If the mkbootdisk script fails with the error: «must be 16 bit FAT», the cause is that the FAT partition is not using a 16-bit file allocation type. You can confirm this using the command:

    fsck.vfat -v /dev/sdb1

    and looking for the line:

    2 FATs, 32 bit entries

    This must read «16 bit entries» for the script to succeed. You must recreate the filesystem using mkfs.vfat to modify this.

    WARNING: Not enough clusters for a 16 bit FAT!
    When attempting to execute the mkfs.vfat command it may fail with the following error:

    WARNING: Not enough clusters for a 16 bit FAT!

    The filesystem will be misinterpreted as having a 12 bit FAT without mount option «fat=16».

    mkfs.vfat: Attempting to create a too large file system

    This is caused by attempting to create a 16-bit file allocation table size on a partition larger than 4GB. Verify a partition smaller than 4G has been created on the USB device.

    Disclaimer

    This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented «AS IS» WITHOUT WARRANTY OF ANY KIND.

    • Document ID:3499891
    • Creation Date:03-14-2007
    • Modified Date:07-26-2012
      • SUSESUSE Linux Enterprise Server

    Installing Suse 11.0 on a USB External Hard Disk. — Linux Forums

    The C:\ drive on my laptop is reserved entirely for XP. I made three partitions on my USB External Drive. I want to put SUSE into the first partition. I plan to follow the advice of an excellent tutorial by Simon Parsons
    «Understanding the Boot Process and NTLDR» 03/04/2002 on devhood.com/tutorials. Now I have several questions about the SUSE install process:
    First, I do not want to put a new bootloader into the mbr. Instead, I want to tell SUSE to put the initial GRUB bootloader at the beginning of the first sector of the partition that I allocate for SUSE. How do I tell the SUSE install process to do that? Second, I want to understand why the SUSE install process is in two steps. Why does a reboot take place between steps 1 and 2? Is the part after the second reboot just doing additional package installation? I need to know this because BEFORE a reboot I need to set up the Windows Bootloader(NTLDR) to access the SUSE partition.
    Thanks for taking the time to read this, whether or not you can contribute to an answer. And check out the referenced tutorial. It is a short, easy read and very clear in its approach.

    Hi. I have a Suse 11.0 64 BITS installed on a USB connected IDE drive. (I have a Compaq V2321US Turion machine), as you, I have the internal drive with the WXP that came with it for support issues. It doesn’t have USB boot, but I can boot it up with the installation DVD (yes it’s boring to put it on the tray everytime I boot Linux) but I haven’t found any suitable solution. I installed grub on the boot sector of the USB drive (/dev/sda) so, when it is not plugged in, the laptop goes directly to the wxp boot), when it is plugged in, the dvd finds the usb drive and I can boot. Regards.

    Howard3005, if you have the dvd in the drive while the install is going, it will go back to the install after the reboot. Now for putting the bootloader to the 1st sector rather than MBR, when the SUSE install loads up (and assuming the install for 10 is similar to 9.3) there is a heading called bootloader, under here you can choose where the bootloader is installed.

    tutankamon, if you use ntldr as your bootloader, you can have it boot into SUSE without the use of the SUSE install media. It will act the same as grub/lilo, and when you want to boot SUSE, just select it from the ntldr list. The tutorial that Howard3005 is using, talks about setting this up link

    __________________
    Life is complex, it has a real part and an imaginary part.

    Источник

    Читайте также:  Blender не видит видеокарту linux
    Оцените статью