LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2018, 05:25 AM   #1
geodaddy
LQ Newbie
 
Registered: Mar 2018
Location: Sweden
Posts: 8

Rep: Reputation: Disabled
System fails to boot after fresh install on IDE NANDrive


Hi.

I'm having problems with my Debian install. The install is successful all the way trough, with the problem starting on reboot. Grub doesn't load, and I don't get any indication on the screen.

I've tried to install to the systems NANDrive HDD, as well as installing to a USB flashdrive. I've changed my installation medium to a different USB, etc.

What am I doing wrong?

My system is a enbedded system, with config:
Phoenix secureCore BIOS
IDE HDD - 2GB NANDrive
CPU: Atom Z510
RAM: 512MB

Pic of motherboard:
https://ibb.co/g9A4VS

** SOLUTION **
Problem was BIOS not recognising the GRUB boot loader in the MBR due to IDE NANDrive setup.
Solution involve creating a PuppyLinux flashdrive (with unetbootin). Next was running the GRUB4DOS tool found in the menu and replacing the MBR with GRUB4DOS bootloader. Everything worked fine after reboot.

Last edited by geodaddy; 04-05-2018 at 11:47 AM. Reason: Added solution
 
Old 03-31-2018, 08:44 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,360
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
Do you get any error messages?

You could try booting to the installation media and updating/reinstalling GRUB. https://www.brighthub.com/computing/...les/36648.aspx
 
Old 04-01-2018, 01:38 AM   #3
geodaddy
LQ Newbie
 
Registered: Mar 2018
Location: Sweden
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
Do you get any error messages?

You could try booting to the installation media and updating/reinstalling GRUB. https://www.brighthub.com/computing/...les/36648.aspx
Tried reinstalling GRUB, didn't work. Tried installing Ubuntu after that, same result. Did another GRUB reinstall and MBR fix with the boot-repair tool from the YannUbuntu PPA, which then suceeded in displaying a screen telling me that there is no OS. I've checked the NANDrive and USB flash for system files, and everything is there.

Maybe the board is corrupting everything somehow during install? Live Debian and Ubuntu runs fine thou.
 
Old 04-01-2018, 04:37 AM   #4
linuxtask
LQ Newbie
 
Registered: Mar 2018
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by geodaddy View Post
Hi.

I'm having problems with my Debian install. The install is successful all the way trough, with the problem starting on reboot. Grub doesn't load, and I don't get any indication on the screen.

I've tried to install to the systems NANDrive HDD, as well as installing to a USB flashdrive. I've changed my installation medium to a different USB, etc.

What am I doing wrong?

My system is a enbedded system, with config:
Phoenix secureCore BIOS
IDE HDD - 2GB NANDrive
CPU: Atom Z510
RAM: 512MB

Pic of motherboard:
https://ibb.co/g9A4VS
Maybe missing files. Try again from 0

Linux Support
 
Old 04-01-2018, 10:45 AM   #5
ar124official
LQ Newbie
 
Registered: Mar 2018
Location: Sargodha, Punjab, Pakistan
Distribution: Ubuntu, Arch Linux, Fedora, Opensuse
Posts: 16

Rep: Reputation: Disabled
You may try reinstalling grub from Debian Recovery option(in Debian Installation DVD).

1. Boot into DVD
2. Select Graphical Rescue option
3. Go through devices and files loading and other configurations as you did at time of installation(everything is automatically done.
4. After all you will have 3 or 4 choices including
Code:
Execute a shell
Reinstall grub bootloader
5. Select Reinstall GRUB Bootloader
6. Enter the device address, on which you installed like /dev/sda(be carefull, you've to only give path to device and not to partition as well as you should select right that one on which you installed.)
7. After Installation reboot
8. Try to boot into device(if device is not first to be booted).
 
Old 04-01-2018, 11:36 AM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Maybe the drive(s) you're installing to are 1. not in the boot sequence or 2. not bootable devices. For instance, SSD drives added to a PCI slot are not bootable unless the bios allows specifically is made for it.

Last edited by AwesomeMachine; 04-01-2018 at 11:39 AM.
 
Old 04-03-2018, 10:16 AM   #7
geodaddy
LQ Newbie
 
Registered: Mar 2018
Location: Sweden
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ar124official View Post
You may try reinstalling grub from Debian Recovery option(in Debian Installation DVD).

1. Boot into DVD
2. Select Graphical Rescue option
3. Go through devices and files loading and other configurations as you did at time of installation(everything is automatically done.
4. After all you will have 3 or 4 choices including
Code:
Execute a shell
Reinstall grub bootloader
5. Select Reinstall GRUB Bootloader
6. Enter the device address, on which you installed like /dev/sda(be carefull, you've to only give path to device and not to partition as well as you should select right that one on which you installed.)
7. After Installation reboot
8. Try to boot into device(if device is not first to be booted).
I'll try it, thanks.
Quote:
Originally Posted by linuxtask View Post
Maybe missing files. Try again from 0

Linux Support
Did from zero multiple times, Changed install medium, and changed the computer from where i "burned" the USB flash. Tried with DD and with etcher. Same result.

Quote:
Originally Posted by AwesomeMachine View Post
Maybe the drive(s) you're installing to are 1. not in the boot sequence or 2. not bootable devices. For instance, SSD drives added to a PCI slot are not bootable unless the bios allows specifically is made for it.
The NanDrive is in the boot sequence, as well as the USB flashdrive. Tried installing to the flashdrive several times, which should work as it's possible to boot into live systems from flash drives. Leaves me banging my head to the wall...
 
Old 04-03-2018, 10:25 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
to out of curiosity, I'd try this, after install or by whatever means available to me. I'd create a SuperGrub2 usb Stick, then after that I'd use that to boot from then have it search the HDD's to see if it finds a boot drive, then have it boot it to see if you can get in.

If anything it should give you a clue to what maybe going wrong if it does not find anything. If you get in then you're able to try and elevate the issue with your grub. and you'll know you have at least one means of getting in to your system until you do.

https://www.supergrubdisk.org/super-grub2-disk/
 
Old 04-03-2018, 07:27 PM   #9
geodaddy
LQ Newbie
 
Registered: Mar 2018
Location: Sweden
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
to out of curiosity, I'd try this, after install or by whatever means available to me. I'd create a SuperGrub2 usb Stick, then after that I'd use that to boot from then have it search the HDD's to see if it finds a boot drive, then have it boot it to see if you can get in.

If anything it should give you a clue to what maybe going wrong if it does not find anything. If you get in then you're able to try and elevate the issue with your grub. and you'll know you have at least one means of getting in to your system until you do.

https://www.supergrubdisk.org/super-grub2-disk/
Tried it previously, but I'll try it again due to faulty USB Flash drive from before.
This shitty embedded system is seriously weird.
 
Old 04-03-2018, 08:02 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
yes, it is that dummy hdd I bet emm and such as that ... someone with the know how really needs to get on the stick with that. Seeings how more and more Laptops and smaller systems are using that type of medium other than the conventional hdd, or sdd to install a Linux OS that needs grub. From what I've seen in here and people having issues with it. but that just my option.

I have not reviewed this in its entity. But I do know slackware has a bootable usb stick option after install. it should still work. I've never had to give it a try.
 
Old 04-04-2018, 06:31 AM   #11
geodaddy
LQ Newbie
 
Registered: Mar 2018
Location: Sweden
Posts: 8

Original Poster
Rep: Reputation: Disabled
I have not reviewed this in its entity. But I do know slackware has a bootable usb stick option after install. it should still work. I've never had to give it a try.[/QUOTE]

Interesting, got to try that. I'll be doing a full review of all the options and try out the suggestions in the coming weekend. I'll get back to the thread with the results.
 
Old 04-04-2018, 09:16 AM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
how is your drive partitioned? What is the ouput of fdsik -l?
 
Old 04-04-2018, 03:35 PM   #13
geodaddy
LQ Newbie
 
Registered: Mar 2018
Location: Sweden
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
how is your drive partitioned? What is the ouput of fdsik -l?
Don't have any advanced setup for partitioning, just a swap and a root partition that's it. I did try with a separate boot partition, but that didn't have any effect. Tried ext2 and ext4 for root (don't really need any journalling).
I'll get back with output for fdsik -l in the weekend.
 
Old 04-05-2018, 11:09 AM   #14
geodaddy
LQ Newbie
 
Registered: Mar 2018
Location: Sweden
Posts: 8

Original Poster
Rep: Reputation: Disabled
Had some extra time on my hands today and decided to give it a last go before trashing it directly out of the window.
Got thinking about possible issues as to why it refused to boot. I got a hint earlier with the experimentation that I did, when I reinstalled MBR, which at least gave me some indication that I could perhaps be related to the GRUB boot loader.

Lo and behold. Thought of puppy Linux and the bootloader that it was using GRUB4DOS and decided why not use that one, and see if the problem still persists?
Did a fresh install of Debian to the Nandrive, marked the root partition bootable. Booted up PuppyLinux and ran the GRUB4DOS program which overwrote MBR and installed GRUB4DOS. restarted the computer, and everything runs smoothly.

Would like to thank everyone for spending time trying to solve the problem with me.

PS: is there a way to change the title to "System fails to boot after error free install on NANDrive"
So people can find the solution more easily in the future?

Last edited by geodaddy; 04-05-2018 at 11:11 AM.
 
Old 04-05-2018, 11:39 AM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by geodaddy View Post
Had some extra time on my hands today and decided to give it a last go before trashing it directly out of the window.
Got thinking about possible issues as to why it refused to boot. I got a hint earlier with the experimentation that I did, when I reinstalled MBR, which at least gave me some indication that I could perhaps be related to the GRUB boot loader.

Lo and behold. Thought of puppy Linux and the bootloader that it was using GRUB4DOS and decided why not use that one, and see if the problem still persists?
Did a fresh install of Debian to the Nandrive, marked the root partition bootable. Booted up PuppyLinux and ran the GRUB4DOS program which overwrote MBR and installed GRUB4DOS. restarted the computer, and everything runs smoothly.

Would like to thank everyone for spending time trying to solve the problem with me.

PS: is there a way to change the title to "System fails to boot after error free install on NANDrive"
So people can find the solution more easily in the future?
go back to your original post then select edit, then advance then look for your heading slot to change it.

Glad you figured it out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Boot fails at fsck but I get no error when I run fsck myself. new install on ssd. rlx Slackware 1 12-02-2012 02:29 PM
Lenny fails after first boot (dual boot system) sag0th Linux - Newbie 1 07-21-2010 06:50 PM
copied Debian install from dead hdd to new hdd.now system fails to boot :S deepclutch Debian 18 02-15-2008 07:17 AM
no /boot/loader and no /boot/kernel/kernel error message on a free bsd install chownuseradd Linux - Newbie 1 02-09-2008 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration