Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rescue USB/ISO doesn't boot. #261

Closed
DrDrache opened this issue Jun 27, 2013 · 9 comments
Closed

rescue USB/ISO doesn't boot. #261

DrDrache opened this issue Jun 27, 2013 · 9 comments

Comments

@DrDrache
Copy link

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
Copy link
Author

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

@jhoekx
Copy link
Contributor

jhoekx commented Jun 27, 2013

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
Copy link
Author

$ 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
Copy link
Author

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
Copy link
Contributor

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
Copy link
Author

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
Copy link
Contributor

@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)

@ghost ghost assigned gdha Oct 2, 2013
@gdha
Copy link
Member

gdha commented Oct 2, 2013

@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
Copy link
Member

gdha commented Nov 4, 2013

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

@gdha gdha closed this as completed Nov 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants