#261 Issue closed: rescue USB/ISO doesn't boot.

Labels: waiting for info, support / question

DrDrache opened issue at 2013-06-27 12:59:

I'm looking into this more myself, but on 2 systems, both ubuntu 12.04.02 i686
One with the LTS enablement pack (fresh install) and one without
(so kernel 3.5.0-34 and kernel 3.2.0-xxx) when the Bootable image is made, then
attempted to boot from, on the same system, and other systems, you get attached screenshot (do not know how to log)

/etc/rear/local.conf are the same each time
USB :
OUTPUT=USB
BACKUP=NETFS

USB_DEVICE=/dev/sdb

BACKUP_URL=usb:///dev/disk/by-label/REAR-000
ISO:
OUTPUT=ISO
BACKUP=NETFS
BACKUP_URL=nfs:///Ip-addres/mnt/storage/rear/

BUT it works perfect with another system also 12.04.02 i686 with kernel 3.9.2, is there a workaround? (manually switch backup images?)

link to iso : http://www.sendspace.com/file/7fq4z1

restore
test

DrDrache commented at 2013-06-27 13:26:

I did a
$sudo rear -v -d -D mkrescue
and here is the resulting .log
http://www.sendspace.com/file/5b3hk7

jhoekx commented at 2013-06-27 13:34:

It looks like the kernel has problems while decompressing the initramfs on the USB.

Could you try to unzip it manually and extract it with cpio?

DrDrache commented at 2013-06-27 13:46:

$ sudo zcat ~/Documents/ttemp/initrd.cgz | cpio -i
cpio: dev/ptmx: Cannot mknod: Operation not permitted
cpio: dev/alarm: Cannot mknod: Operation not permitted
....edited for length....
cpio: dev/tty49: Cannot mknod: Operation not permitted
254325 blocks
$

http://pastie.org/8086114

DrDrache commented at 2013-06-27 15:25:

I attempted this with 2048 MB of ram on a ubuntu VM
and 1024 MB as well
also used latest GIT, and stable and snapshots from the OSBP

dagwieers commented at 2013-06-27 16:04:

The original ramdisk on your Ubuntu, what kind of compression/filesystem does it use ? (check with the file command on both the compressed initrd as well as the uncompressed initrd).

Are there any kernel boot parameters set on the system that may be needed for booting this kernel/initrd ?

DrDrache commented at 2013-06-27 17:34:

nothing but the default ubuntu. no flags were added,
the compressed initrd is gzip compressed and "regular file" uncompressed
as well as the kernel, regular file.

dagwieers commented at 2013-06-28 22:44:

@DrDrache I was expecting a CPIO archive or a filesystem...

[dag@moria ~]$ file /boot/initramfs-2.6.32-358.11.1.el6.x86_64.img
/boot/initramfs-2.6.32-358.11.1.el6.x86_64.img: gzip compressed data, from Unix, last modified: Tue Jun 11 10:59:54 2013, max compression
[dag@moria ~]$ file -z /boot/initramfs-2.6.32-358.11.1.el6.x86_64.img
/boot/initramfs-2.6.32-358.11.1.el6.x86_64.img: ASCII cpio archive (SVR4 with no CRC) (gzip compressed data, from Unix, last modified: Tue Jun 11 10:59:54 2013, max compression)
[dag@moria ~]$ file /boot/rear-initrd.cgz 
/boot/rear-initrd.cgz: gzip compressed data, from Unix, last modified: Sat Jun  8 01:20:12 2013
[dag@moria ~]$ file -z /boot/rear-initrd.cgz 
/boot/rear-initrd.cgz: ASCII cpio archive (SVR4 with no CRC) (gzip compressed data, from Unix, last modified: Sat Jun  8 01:20:12 2013)

gdha commented at 2013-10-02 12:16:

@DrDrache does the same problem occur with rear-1.15? I'm not sure what we can do to help you with this? Or is it fine to close this issue? No response within 1 month means "yes"

gdha commented at 2013-11-04 15:38:

close the issue with "no feedback received" within 1 month - if needed you may re-open the call [ @DrDrache ]


[Export of Github issue for rear/rear.]