SLES 12 SP1 Missing Operating System, after booting

Hello,

I had a ploblem with our Raid 1 on Supermicro server,

Today i create backup image with Clonezilla, But when i recovery image is can’t boot the system.

STEP1: Clear Raid configured
STEP2: Re-configure RAID 1
SETP3: Recovery image with Clonezilla

Is error message “Missing Operating System”

[SIZE=4]How to reinstall GRUB2 EFI on BtrFS?[/SIZE]

I try… mount for reinstall grub but is not working.

mount /dev/sda2 /mnt #sda2 boot filesystem on BtrFS

ERROR: “Cannot allocate memory”

Thanks,

Hi
EFI booting is done from a separate partition ~260M, type ef00
formatted to vfat and set to /boot/efi?


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Partitions layout:

[QUOTE]/dev/sda2 btrfs 41271296 4381876 36549804 11% /
devtmpfs devtmpfs 1963840 8 1963832 1% /dev
tmpfs tmpfs 1972864 80 1972784 1% /dev/shm
tmpfs tmpfs 1972864 42724 1930140 3% /run
tmpfs tmpfs 1972864 0 1972864 0% /sys/fs/cgroup
/dev/sda2 btrfs 41271296 4381876 36549804 11% /.snapshots
/dev/sda2 btrfs 41271296 4381876 36549804 11% /var/tmp
/dev/sda2 btrfs 41271296 4381876 36549804 11% /var/spool
/dev/sda2 btrfs 41271296 4381876 36549804 11% /var/opt
/dev/sda2 btrfs 41271296 4381876 36549804 11% /var/log
/dev/sda2 btrfs 41271296 4381876 36549804 11% /var/lib/pgsql
/dev/sda2 btrfs 41271296 4381876 36549804 11% /var/lib/mailman
/dev/sda2 btrfs 41271296 4381876 36549804 11% /var/lib/named
/dev/sda2 btrfs 41271296 4381876 36549804 11% /var/crash
/dev/sda2 btrfs 41271296 4381876 36549804 11% /tmp
/dev/sda2 btrfs 41271296 4381876 36549804 11% /opt
/dev/sda2 btrfs 41271296 4381876 36549804 11% /boot/grub2/x86_64-efi
/dev/sda2 btrfs 41271296 4381876 36549804 11% /boot/grub2/i386-pc
/dev/sda2 btrfs 41271296 4381876 36549804 11% /usr/local
/dev/sda2 btrfs 41271296 4381876 36549804 11% /srv
/dev/sda3 btrfs 61451964 33504 61418460 1% /home[/QUOTE]

How i can trying resolve with Rescue mode?

Regards,

Hi
So does /dev/sda1 exist?

gdisk -l /dev/sda


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Number
1 2G Linux swap #code 8200 /dev/sda1
2 40G Linux filesystem #code 8300 /dev/sda2

fdisk /dev/sda and boot flag on /dev/sda2

Hi
But if it’s not a gpt disk, or doesn’t contain a /boot/efi partition,
then your using legacy boot…

So are you sure the system is set to boot from UEFI, maybe it should
be set to legacy booting?


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hi,

Not yet a gpt disk and the partition for the EFI firmwares.

On supermicro server broad setting DUAL (UEFI,Legacy) and first booting with PCI RAID Adeptoer (MegeRAID SAS Controller)


[SIZE=4]How i can mount root file system BtrFS?[/SIZE]

I trying…
Booting Recure mode…

$ mkdir mnt
$ mount -o subvol=@ /dev/sda2 mnt

message: BTRFS in (device sda2) disk space cachng is enable
has skinny extents

It mounted but “mnt/boot/” is no files.

/boot/grub2/x86_64-efi/…
/boot/grub2/i386-pc/…

I’m not sure the Clondzilla program lasted version it work on BtrFS.

Thanks,

Hi susethailand,

pardon me for jumping in right in the middle of this thread…

[QUOTE=susethailand;31567]Hi,
[…]
[SIZE=4]How i can mount root file system BtrFS?[/SIZE][/QUOTE]

no need to shout :wink:

[QUOTE=susethailand;31567]I trying…
Booting Recure mode…

$ mkdir mnt
$ mount -o subvol=@ /dev/sda2 mnt

message: BTRFS in (device sda2) disk space cachng is enable
has skinny extents

It mounted but “mnt/boot/” is no files.

/boot/grub2/x86_64-efi/…
/boot/grub2/i386-pc/…[/QUOTE]

well, there are those directories, at least? You don’t mention how you created above list, please in the future include the complete command and (potentially reduced) output… and it’s best to put that in some quote or code tags (like you did with the list of file systems in your other reply).

Speaking of file systems… you did notice the following entries in your list?

/dev/sda2 btrfs 41271296 4381876 36549804 11% /boot/grub2/x86_64-efi /dev/sda2 btrfs 41271296 4381876 36549804 11% /boot/grub2/i386-pc

So you might want to mount those first, to see the files in /boot/grub2/x86_64-efi and /boot/grub2/i386-pc.

Regards,
Jens

[QUOTE=jmozdzen;31569]Hi susethailand,

pardon me for jumping in right in the middle of this thread…

no need to shout :wink:

well, there are those directories, at least? You don’t mention how you created above list, please in the future include the complete command and (potentially reduced) output… and it’s best to put that in some quote or code tags (like you did with the list of file systems in your other reply).

Speaking of file systems… you did notice the following entries in your list?

/dev/sda2 btrfs 41271296 4381876 36549804 11% /boot/grub2/x86_64-efi /dev/sda2 btrfs 41271296 4381876 36549804 11% /boot/grub2/i386-pc

So you might want to mount those first, to see the files in /boot/grub2/x86_64-efi and /boot/grub2/i386-pc.

Regards,
Jens[/QUOTE]

Hi,

Empty file system! ^^
I thinking Clonezilla program can’t support Btrfs.

Regards,

Hi susethailand,

well, you didn’t mention which clonezilla version you use, but unless it’s ages old, your thoughts are not backed up by Google search results :wink: And that you can mount the root subvol indicates cloning success, too…

From the clonezilla release notes:

[QUOTE]
Clonezilla live 1.2.6-18

[LIST]
[][…]
[
]New file system support, btrfs, was added in this release. //NOTE// btrfs is still in the beta status, therefore this support is in testing.
[*][…]
[/LIST]
– Steven Shiau <steven at nchc org tw> Sat, 04 Sep 2010 00:16:00 +0800[QUOTE]

More recent release messages mention fixes to that part of the code, so in general I’d assume BtrFS to be a (somewhat) supported filesystem in clonezilla.

Regards,
Jens

[SIZE=4][SOLVED][/SIZE]

[SIZE=3]Issue:[/SIZE] Error startup SuperMicro server with LSI MegaRAID RAID controller

Hardware: SuperMicro server / LSI MegaRAID RAID controller
OS: SLES12 SP1 64bit
Backup/Restore: Clonezilla live version: 2.4.5-32

[SIZE=3]Solution:[/SIZE]

SUSE 12 CD/DVD Recovery Mode

For example,
/dev/sda1 (swap)
/dev/sda2 (/boot) boot partition
/dev/sda3 (/) filesystem

Start the rescue system.
Find the disk root partition,

fdisk -l

/dev/sda3 is the root file system for the Linux installation, which is a Btrfs partition.

First, create a directory as a mount point for root file system:

mkdir mnt

Second, mount the root file system with:

mount /dev/sda3 mnt
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot mnt/

and then can use “yast2” commands

Chiang “Boot Loader Location”
uncheck [] Boot from Boot Partition
And then check as below;

[/] Custom Boot Partition

OK,
Please try verify setting again.

exit
reboot

Regards,
Sontaya
www.suse.in.th