SuSe Won't Boot.

I really need some help on this one. I reinstalled Suse 12.1 KDE yesterday and it installed but won’t boot. A blinking cursor on a blank screen at boot. I tried to use my live cd to reinstall GRUB but was greeted with “Error: Because of partitioning, the boot loader cannot be installed properly”. I then tried to use the boot loader from the live cd to boot my system by selecting “boot off hard drive” the system responded with “Error: No Active Partition”. I then booted my live cd again and ran fdisk in a terminal but it only showed one of my 3 partitions. I currently have 1 HDD:

/dev/sda1 2.01 GB swap
/dev/sda2 20.00 GB ext4 (Linux and Grub)
/dev/sda3 1.80 TB ext4 (home)

How can I get my partition to boot or even show grub? I’ve reinstalled many times today and even installed grub to MBR with no success.

Follow this
https://plus.google.com/u/0/photos/107564133608385811033/albums/5671388397812160129

With the 3 partitions you have, there should be a boot flag on sda2 /

I tried to change my boot flags but I cannot see the ext4 partitions in fdisk.

I have now reinstalled the system following your directions. Unfortunately the same problem exists. When I check the boot flags in gparted, sda2 is correctly flagged ‘boot’ yet when I turn the system on nothing happens. The ‘boot from hdd’ option still gives ‘booting from local disk… error no active partition’.

Wipe the HD by doing new partition table
Then try this
https://dl.dropbox.com/u/10573557/12.1_install/07_partition_create.jpg

Same identical result. Error No Active Partition.

On 07/13/2012 05:46 AM, telepete wrote:
> Same identical result. Error No Active Partition.
> (previously wrote) I reinstalled Suse 12.1 KDE yesterday

please tell us why you reinstalled yesterday?

that is, were you having some sort of problem? describe that problem
completely, and how it presented itself to you…

did it suddenly start showing problems after 12.1 ran for some days, ok?

i ask these things because it is possible that the trouble you see today
is due to a hardware issue which caused the symptoms you saw
yesterday…and, no amount of reinstalling will ever fix the hardware
problem…

> “Error: Because of partitioning, the boot loader cannot be
> installed properly”.

boot from the live cd and please show us the terminal input/output from


df -hlT
cat /proc/partitions
cat /etc/fstab
mount
sudo /sbin/fdisk -l
sudo cat /boot/grub/menu.lst

then copy/paste the in/output back to this thread using the instructions
here: http://goo.gl/i3wnr

>
> How can I get my partition to boot or even show grub? I’ve reinstalled
> many times today and even installed grub to MBR with no success.

doing the same thing over and over and over should be expected to lead
to the same failure over and over and over…


dd

Hello again. Finally had some time to look at this machine today. Thank you for your responses and time and I apologize for the lack of information in my OP. For starters I had Suse 12.1 running for a few months (I did a clean install of Suse 12.1 over my previous 11.4 system). I removed the operating system to install Debian (the PandaBoard I just ordered recommends Ubuntu or Debian so you can follow the tutorials easier). I’m unfamiliar with Debian and I could not get it to boot (may have been the same problem but I opted to attempt to get back to 12.1 rather than wrestle with Debian). I doubt its a hardware issue but it’s always a possibility. Here are the outputs from the commands you mentioned. It appears to be an issue with GRUB but I’m not quite sure.

df -hlT

Filesystem     Type      Size  Used Avail Use% Mounted on
rootfs         rootfs    7.6G  2.7G  5.0G  35% /
udev           tmpfs     3.9G  8.0K  3.9G   1% /dev
devtmpfs       devtmpfs  3.9G  8.0K  3.9G   1% /dev
tmpfs          tmpfs     3.9G  1.7M  3.9G   1% /dev/shm
/dev/sr0       iso9660   674M  674M     0 100% /livecd
/dev/loop0     ext4      7.6G  2.7G  5.0G  35% /
tmpfs          tmpfs     3.9G  760K  3.9G   1% /run
tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     3.9G  760K  3.9G   1% /var/run
tmpfs          tmpfs     3.9G     0  3.9G   0% /media
tmpfs          tmpfs     3.9G  760K  3.9G   1% /var/lock

cat /proc/partitions

major minor  #blocks  name

   8        0 1953514584 sda
   8        1    2103296 sda1
   8        2   20972544 sda2
   8        3 1930437632 sda3
   7        0    7980032 loop0

cat /etc/fstab

devpts  /dev/pts          devpts  mode=0620,gid=5 0 0
proc    /proc             proc    defaults        0 0
sysfs   /sys              sysfs   noauto          0 0
debugfs /sys/kernel/debug debugfs noauto          0 0
usbfs   /proc/bus/usb     usbfs   noauto          0 0
/dev/root / defaults 1 1

mount

devtmpfs on /dev type devtmpfs (rw,relatime,size=4016464k,nr_inodes=1004116,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
/dev/sr0 on /livecd type iso9660 (ro,relatime)
clicfs on /read-only type fuse.clicfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/read-only/fsdata.ext3 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,user_xattr,acl,barrier=0,data=ordered)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=19,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,relatime,mode=755)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
none on /proc/fs/vmblock/mountPoint type vmblock (rw,relatime)

/sbin/fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa2b85101

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  3907029167  1953514583+  ee  GPT

cat /boot/grub/menu.lst

cat: /boot/grub/menu.lst: No such file or directory

Finally, when I say I reinstalled something several times it doesn’t mean I followed the same procedure. Clean installs with ext3 instead of ext4, grub at mbr, grub at /, grub in both locations etc (sorry if I was unclear). I was hoping some some combination of settings would help.

On 2012-07-16 01:06, telepete wrote:

> /sbin/fdisk -l
>
> Code:
> --------------------
> WARNING: GPT (GUID Partition Table) detected on ‘/dev/sda’! The util fdisk doesn’t support GPT. Use GNU Parted.
> --------------------

With that, you can not have active partitions. You do not even have classic partitions.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Hi telepete,

are you sure that you did

Have a look at

http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/475347-error-occurred-while-installing-grub-during-os-11-4-installation-error-25-asus-efi-bios-2.html#post2463549

and

http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/475347-error-occurred-while-installing-grub-during-os-11-4-installation-error-25-asus-efi-bios-2.html#post2463576

where there are examples given of how to wipe the partition table of a HDD
(using the command line from a live CD).

This could help, if your hard disk is 2 GB or smaller.

[QUOTE=telepete;2474600

Possibly this created the GPT type partition table/disk label on your HDD,
which beforehand (i.e. after your 1st install of openSUSE) may have been of a different kind?

Using openSUSE 12.1 installer, all this won’t change the type of your partition table/disk label.

Try to wipe the partition table/disk label of your HDD following the links above
(you don’t seem to have any more data on your HDD that needs to be saved,
so that wouldn’t then mean any loss of such data).

Then try to install openSUSE again.

Good luck
Mike

What does this mean? I will likely need more information than this. I used the installation instructions linked to me in this thread. It’s partitioned exactly as instructed as far as I can tell?

The problem may just be that the GPT partition table that you now have, which is of a quite new kind, poses problems.

Save any data that still may be on your hard disk and then wipe this partition table (or disk label),
see my last posting in this thread that just appeared before yours.

After that, re-install opensuse.

With the GPT kind of partition table that you now have you wouldn’t
even be able to install windows 7 any more.

Best wishes
Mike

Hi
Use gdisk or lsblk;


gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 488397168 sectors, 232.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 084A4DAC-DFBE-46CC-82F4-EC95CF5E49E0
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 488397134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
1            2048          526335   256.0 MiB   EF00  EFI System
2          526336        63440895   30.0 GiB    0700  Linux filesystem
3        63440896       126355455   30.0 GiB    0700  Linux filesystem
4       126355456       189270015   30.0 GiB    0700  Linux filesystem
5       189270016       478676991   138.0 GiB   8300  Linux filesystem
6       478676992       488397134   4.6 GiB     8200  Linux swap

lsblk

NAME        MAJ:MIN RM   SIZE RO MOUNTPOINT
sda           8:0    0 232.9G  0
├─sda1        8:1    0   256M  0 /boot/efi
├─sda2        8:2    0    30G  0
├─sda3        8:3    0    30G  0 /
├─sda4        8:4    0    30G  0
├─sda5        8:5    0   138G  0 /data
└─sda6        8:6    0   4.7G  0 [SWAP]


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.34-0.7-default
up 5 days 23:18, 3 users, load average: 0.44, 0.46, 0.41
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

On 2012-07-16 02:36, telepete wrote:
>
> robin_listas;2474608 Wrote:
>> You do not even have classic partitions.
>>
>
> What does this mean? I will likely need more information than this. I
> used the installation instructions linked to me in this thread. It’s
> partitioned exactly as instructed as far as I can tell?

Not quite… You are using a GPT table, not a partition table. GPT is new, look it up in the
wikipedia, and needs a different method for booting. Grub 0.9x will not work.

I can not help you with that new method, I have never used it, my knowledge is second hand.
However, as your disk is smaller than 2 TiB you can erase it and create a traditional partition
table instead. Your choice.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Use Parted Magic like this
https://dl.dropbox.com/u/10573557/Partition%20Labels/create_part_table1.png

https://dl.dropbox.com/u/10573557/Partition%20Labels/create_part_table2.png

A Rolls-Royce is just a car, Champagne is just a wine, Maroilles is just a cheese, Linux is just an operating system and … GPT (GUID Partition Table) is also just a partition table.

Hi again,

sorry, I was a bit tired.
I meant 2 TB , not 2 GB … :slight_smile:

From

it is clear that your hard disk is 2 TB, and not more.

So the classical approach using an ‘msdos’ style partition table would still work,
which can be re-created (i.e. overwriting the current GPT partition table)
the way proposed by caf4926:

But using GRUB on a 2 TB hard disk, you have to ensure that all ‘/’ partitions
(for openSUSE 12.1 and a possible other distro multibooting)
entirely (i.e. as a whole)
are located below 128 GB.

Coming back to your early postings in this thread:
As long as you have a ‘GPT’ style partition table (whatever created it)
instead of a ‘msdos’ style partition table,
you can forget about GRUB and fdisk, and will have to use different software.

If you want to know a bit more on all that check thread

http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/475347-error-occurred-while-installing-grub-during-os-11-4-installation-error-25-asus-efi-bios.html

You will e.g. find links to pages by please_try_again there,
on UEFI boot, GPT etc.

Good luck
Mike

Actually, the “classical” approach would still address up to 4 TB … with a little trick. You can create a single 2 TB partition, starting before the 2 TB limit. Both values, start sector and size won’t exceed 32bit (it’s the size in sectors, not in bytes) and would still fit in the partition table. Of course you won’t be able to boot from there and it works only under Linux.

However people should start using GPT whenever it’s possible (Fedora uses GPT now even on BIOS systems). Don’t use MBR for ten more years! Today’s mainboards come with UEFI firmware and booting in BIOS emulation is not fun and will stop working some day.

On 2012-07-16 08:46, please try again wrote:
>
> robin_listas;2474626 Wrote:
>>
>>
>> Not quite… You are using a GPT table, not a partition table.
>>
>
> A Rolls-Royce is just a car, Champagne is just a wine, Maroilles is
> just a cheese, Linux is just an operating system and … GPT (GUID
> Partition Table) is also just a partition table.

Next generation partition table, yes, but not THE Partition Table known to all software. Grub
legacy can not boot from it.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)