[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-xorriso] Mountable ISO and GRUB2
From: |
Andrei Borzenkov |
Subject: |
Re: [Bug-xorriso] Mountable ISO and GRUB2 |
Date: |
Fri, 23 Dec 2016 22:54:23 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
23.12.2016 17:25, Thomas Schmitt пишет:
>
> Andrei Borzenkov wrote:
>> Why do you need it to be partition? grub is happy to access ISO via
>> non-partitioned device.
>
> The desire arises for the booting operating system and for use of
> the booted USB stick as general storage device with additional partitions.
> A mountable partition stating at a non-zero block is what many pieces
> of software expect.
>
> I had problem reports about blkid and/or systemd attributing the disk label
> of partition 1 to the base device. The booting operating system then
> could not find the ISO. No problem if both disk labels are the same.
>
> Any comments about my proposed MBR partition table layout are welcome.
> (Andrei has a great record of pointing me to my mistakes.)
>
As example, openSUSE image provides access to ISO content via partition
with second file table
/dev/loop0: UUID="2016-11-09-10-39-11-00"
LABEL="openSUSE-Leap-42.2-DVD-x86_64028" TYPE="iso9660"
PTUUID="135a2181" PTTYPE="dos"
/dev/loop0p1: SEC_TYPE="msdos" UUID="1E63-B137" TYPE="vfat"
PARTUUID="135a2181-01"
/dev/loop0p2: UUID="2016-11-09-10-39-00-00"
LABEL="openSUSE-Leap-42.2-DVD-x86_64028" TYPE="iso9660"
PARTUUID="135a2181-02"
GNU xorriso 1.4.3 : RockRidge filesystem manipulator, libburnia project.
xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 6981 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is
set to be discarded
Drive current: -indev '/home/bor/Загрузки/openSUSE-Leap-42.2-DVD-x86_64.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record : El Torito , MBR isohybrid cyl-align-off
Media summary: 1 session, 2140229 data blocks, 4180m data, 152g free
Volume id : 'openSUSE-Leap-42.2-DVD-x86_64028'
System area options: 0x00000202
System area summary: MBR isohybrid cyl-align-off
ISO image size/512 : 8560916
Partition offset : 0
MBR heads per cyl : 0
MBR secs per head : 0
MBR partition table: N Status Type Start Blocks
MBR partition : 1 0x00 0xef 4084 7560
MBR partition : 2 0x80 0x17 11644 8551044
MBR partition path : 1 /boot/x86_64/efi
Or is having the same ISO both via full device and partition a problem?
Re: [Bug-xorriso] Mountable ISO and GRUB2, Thomas Schmitt, 2016/12/23