You are not logged in.

#1 2015-08-23 17:30:13

Simthadim
Member
Registered: 2014-02-15
Posts: 35

[Solved] Disk error while boot after fresh install SSD

Hi Guys,

I recently bought a SSD to replac my old HDD in my HP8530W, though I can't get it to run. I have installed Arch using the beginnersguide multiple times but always get the following message once I reboot:

Non-System disk or disk error
replace and strike any key when ready

Just for the sake of trying I just now attempted to reinstall Arch though partitioned the SSD using the GParted live USB. Gave it an MSDOS partition table (still running 'the old' BIOS), ensured alignment and gave it two partitions, one (/dev/sda1) which has a mountpoint '/' and one (/dev/sda2) that is swap memory.

As I followed the wiki a few times now I don't know where I should look. Using the USB image on my USB drive I can chroot into the newly installed Arch system, though it won't boot into GRUB or whatsoever.

Don't know what kind of log file would help (grub?), but does anyone know where I may find the error? Many thanks in advance.

EDIT: Did some google-ing, though haven't had any luck with the solutions proposed so far (GPT vs MBR)

Last edited by Simthadim (2015-08-24 08:15:26)

Offline

#2 2015-08-23 20:21:19

Simthadim
Member
Registered: 2014-02-15
Posts: 35

Re: [Solved] Disk error while boot after fresh install SSD

This is the first time I'm attempting to install Linux on a disk where there is no Windows pre-installed. Always had dual boot so far. Windows usually creates a small partition (boot partition), which is not listed in the beginners guide.

The first partition (mountpoint /) has 1 MiB of free diskspace before it (allignment was also set to 1 MiB). Read that this was advisable for BIOS/MBR systems. Grub puts its core.img file there, right?  Not sure if that is something which makes it unable to boot; can't acces that file anyhow.

Last edited by Simthadim (2015-08-23 20:22:05)

Offline

#3 2015-08-23 20:59:22

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,749
Website

Re: [Solved] Disk error while boot after fresh install SSD

Please post the output of:

# fdisk -l

You can generate this output from any live GNU/Linux ISO.

Please describe the steps taken to install and configure your bootloader.

EDIT: http://support.hp.com/gb-en/document/c00832290

Last edited by Head_on_a_Stick (2015-08-23 21:01:19)

Offline

#4 2015-08-23 21:02:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,563
Website

Re: [Solved] Disk error while boot after fresh install SSD

This error has nothing to do with the arch install - this is a bios error as your system isn't even trying to boot the SSD.  Is there another disk in the system?  Did you swap the SSD for an old HDD, or just add the SDD?  Did you adjust the boot priority in your BIOS?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2015-08-23 21:17:27

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [Solved] Disk error while boot after fresh install SSD

Simthadim wrote:

Windows usually creates a small partition (boot partition), which is not listed in the beginners guide.

Yes it is: https://wiki.archlinux.org/index.php/Be … ge_devices and https://wiki.archlinux.org/index.php/Be … bootloader

Offline

#6 2015-08-23 21:32:57

Simthadim
Member
Registered: 2014-02-15
Posts: 35

Re: [Solved] Disk error while boot after fresh install SSD

Hi Guys,

I did indeed swap the old HDD for the new SSD (Samsung 850 EVO 120 GB) . The laptop does not contain any other disk.  The HDD boots without problem (dual boot Window 8/Arch).
Reviewed the boot priority and right now it's USB drive - harddrive - multi-bay  - SD card - etc., so it should start I presume.

Ran the harddisk test on the HP BIOS and it passed both the quick test as the extensive test.
I've uploaded the output of fdisk -l (image) to http://oi57.tinypic.com/ra6c74.jpg
One thing I notice is that sda1 shows no bootflag, or so it appears. Could this be it?

The bootloader (Grub) was installed using the commands presented in the beginners' guide

pacman -S grub
grub-install --recheck /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg

@twelveeighty
True, you are right. I did read those things, however I was implying creating it yourself manually. My bad.

Last edited by Simthadim (2015-08-23 21:36:05)

Offline

#7 2015-08-23 21:39:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,563
Website

Re: [Solved] Disk error while boot after fresh install SSD

/dev/sda1 is not flagged as bootable.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2015-08-23 21:45:08

Simthadim
Member
Registered: 2014-02-15
Posts: 35

Re: [Solved] Disk error while boot after fresh install SSD

Trilby wrote:

/dev/sda1 is not flagged as bootable.

Indeed, the asterix is missing. Hmm.. Wonder what went wrong, Thought I followed the wiki for sure.
Can I change on the spot that or does it require a new format?

Last edited by Simthadim (2015-08-23 21:45:38)

Offline

#9 2015-08-23 21:52:29

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,749
Website

Re: [Solved] Disk error while boot after fresh install SSD

Simthadim wrote:

Can I change on the spot

Yes.

# parted /dev/sda set 1 boot on

Offline

#10 2015-08-23 22:03:25

Simthadim
Member
Registered: 2014-02-15
Posts: 35

Re: [Solved] Disk error while boot after fresh install SSD

Thank you all very much for your quick responses.
I marked sda1 as bootable and verified in the /etc/fstab file that it has '/' located under the column <dir> (which makes it bootable, right?) and it booted right away.

Have a good night/day (it's 00:03 here in The Netherlands right now).  Cheers

Offline

#11 2015-08-24 00:16:30

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [Solved] Disk error while boot after fresh install SSD

Glad you got it working! When you have a moment, please mark the thread as [SOLVED].

Offline

Board footer

Powered by FluxBB