# SLES 12 SP1 Missing Operating System, after booting

**URL:** <https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902>\
**Category:** SLES Install-Boot\
**Created:** [February 16, 2016, 2:04pm UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902 "2016-02-16T14:04:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![susethailand](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@susethailand](https://forums.suse.com/u/susethailand)\
**Post date:** [February 16, 2016, 2:04pm UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/1 "2016-02-16T14:04:37Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 16, 2016, 2:53pm UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/2 "2016-02-16T14:53:06Z")

</div>

> [@](#):
>
> On Tue 16 Feb 2016 12:14:01 PM CST, susethailand wrote:
> 
> 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” \*
> 
> -How to reinstall GRUB2 EFI on BtrFS?-
> 
> 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!

---

<div class="post-metadata">

**Author:** ![susethailand](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@susethailand](https://forums.suse.com/u/susethailand)\
**Post date:** [February 17, 2016, 4:24am UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/3 "2016-02-17T04:24:26Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 17, 2016, 4:50am UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/4 "2016-02-17T04:50:29Z")

</div>

> [@](#):
>
> On Wed 17 Feb 2016 02:34:02 AM CST, susethailand wrote:
> 
> Partitions layout:  
> [color=blue]
> 
> > /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[/color]
> 
> How i can trying resolve with Rescue mode?
> 
> Regards,

Hi  
So does /dev/sda1 exist?

```auto
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!

---

<div class="post-metadata">

**Author:** ![susethailand](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@susethailand](https://forums.suse.com/u/susethailand)\
**Post date:** [February 17, 2016, 5:19am UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/5 "2016-02-17T05:19:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 17, 2016, 5:52am UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/6 "2016-02-17T05:52:57Z")

</div>

> [@](#):
>
> On Wed 17 Feb 2016 03:24:02 AM CST, susethailand wrote:
> 
> 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!

---

<div class="post-metadata">

**Author:** ![susethailand](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@susethailand](https://forums.suse.com/u/susethailand)\
**Post date:** [February 17, 2016, 7:28am UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/7 "2016-02-17T07:28:58Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [February 17, 2016, 11:59am UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/8 "2016-02-17T11:59:41Z")

</div>

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 😉

[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

---

<div class="post-metadata">

**Author:** ![susethailand](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@susethailand](https://forums.suse.com/u/susethailand)\
**Post date:** [February 18, 2016, 9:42am UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/9 "2016-02-18T09:42:50Z")

</div>

[QUOTE=jmozdzen;31569]Hi susethailand,

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

no need to shout 😉

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,

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [February 18, 2016, 1:46pm UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/10 "2016-02-18T13:46:37Z")

</div>

Hi susethailand,

> [@susethailand;31587](#):
>
> I thinking Clonezilla program can’t support Btrfs.

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 😉 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

---

<div class="post-metadata">

**Author:** ![susethailand](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@susethailand](https://forums.suse.com/u/susethailand)\
**Post date:** [February 24, 2016, 11:40am UTC](https://forums.suse.com/t/sles-12-sp1-missing-operating-system-after-booting/27902/11 "2016-02-24T11:40:21Z")

</div>

[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,

```auto
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:

```auto
mount /dev/sda3 mnt
```

```auto
mount --bind /dev /mnt/dev
```

```auto
mount --bind /proc /mnt/proc
```

```auto
mount --bind /sys /mnt/sys
```

```auto
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.

```auto
exit
```

```auto
reboot
```

Regards,  
Sontaya  
www.suse.in.th
