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

Live CD installation failed to be installed on hard disk in arm64 #106

Open
dongdonglrlr opened this issue Mar 19, 2024 · 9 comments
Open

Comments

@dongdonglrlr
Copy link

base on https://clonezilla.org/livehd.php

menuentry "clonezilla-live" {
ISO="/clonezilla-live-3.1.2-6-arm64.iso"
search --set -f $ISO
loopback loop $ISO
linux (loop)/live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=791 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 findiso=$ISO
initrd (loop)/live/initrd.img
}
@JonnyTech
Copy link

From https://clonezilla.org/livehd.php

Download clonezilla live zip file

So try the .zip file and report back

@dongdonglrlr
Copy link
Author

use zip cant working too

menuentry "Clonezilla Live 3.1.2-6" {

    echo "now root is ${root}"
    set root=(hd1)

    echo "now root is ${root}"

linux /live-hd/vmlinuz boot=live union=overlay username=user config components quiet noswap nolocales edd=on nomodeset ocs_live_run=\"ocs-live-general\" ocs_live_extra_param=\"\" keyboard-layouts= ocs_live_batch=\"no\" locales= vga=788 ip=frommedia nosplash live-media-path=/live-hd bootfrom=/dev/vdb toram=live-hd,syslinux,EFI

initrd /live-hd/initrd.img

}


# file

vdb                252:16   0   20G  0 disk /mnt
[root@localhost ~]# ls /mnt/
arm64-release.txt  boot  clonezilla-live-3.1.2-6-arm64.zip  Clonezilla-Live-Version  EFI  GPL  home  live-hd  lost+found  utils

# uname -r
5.10.0-182.0.0.95.oe2203sp3.aarch64

# os 
https://www.openeuler.org/en/download/?version=openEuler%2022.03%20LTS%20SP3

@JonnyTech
Copy link

set root=(hd1)

This looks incorrect, it should be (drive,partition) for example (hd1,4)

Also please show what kind of error you a getting as you have provided no details

@dongdonglrlr
Copy link
Author

(hd1) There is no partition of the disk

lsblk 
NAME               MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sr0                 11:0    1  3.1G  0 rom  
vda                252:0    0   80G  0 disk 
├─vda1             252:1    0  600M  0 part /boot/efi
├─vda2             252:2    0    1G  0 part /boot
└─vda3             252:3    0 78.4G  0 part 
  ├─openeuler-root 253:0    0   50G  0 lvm  /
  ├─openeuler-swap 253:1    0    4G  0 lvm  [SWAP]
  └─openeuler-home 253:2    0 24.4G  0 lvm  /home
vdb                252:16   0   20G  0 disk 

how to get more logs

@JonnyTech
Copy link

I see that you have two drives, vda and vdb.

You can create a new partition on vda and use that, assuming that it already has grub installed because there is already a Linux system installed there.

Or create a partition on vbd and add the relevant entry in you grub configuration file.

how to get more logs

For starters please submit as much information into bug reports as possible.

You are installing on virtual drives? Why did you not include these details earlier?

Depending on your version of grub then things can vary but try something like /var/log/boot.log.

But "Live CD installation failed to be installed on hard disk in arm64" tells us nothing about the error.

@dongdonglrlr
Copy link
Author

i get error
image

@JonnyTech
Copy link

EFI stub: ERROR: FIRMWARE BUG: kernel image not aligned on 64k boundary

This may be an image with your VM host.

Seeing are you are still not providing any details at all about your setup (:sigh:) it looks like I am going to have to ask specific questions:

  • What hardware are you using including CPU model?
  • Which virtual machine type and version are you running?
  • Provide logs when using another VM.
  • Why are you not running without a VM? Please try that.
  • Did you partition the drive? Please show lsblk and grub.cfg contents.
  • Does a Debian arm64 image boot correctly?
  • Try the latest Clonezilla Live testing build v3.1.2-20

@dongdonglrlr
Copy link
Author

I found the key parameters need add
console=tty0

menuentry "Recovey-General" {

  set ISO="/clonezilla-live-3.0.0-25-arm64.iso"
  search --set -f $ISO
  loopback loop $ISO

  linux (loop)/live/vmlinuz boot=live union=overlay console=tty0 username=user config components loglevel=6 noswap edd=on nomodeset locales= timezone=Asia/Shanghai keyboard-layouts=us ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 findiso=$ISO

  initrd (loop)/live/initrd.img

}

but the "vga=788" cant work on my physical machine which use 1080p screen

@nhermosilla14
Copy link

Why are you setting the resolution that way? I'd say it should work just fine without "vga=788", maybe you need to also remove the "nomodeset" to make it find the proper resolution (it might cause issues on NVIDIA graphics, though, but that shouldn't be an issue in a 100% virtualized environment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants