LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-08-2017, 03:58 PM   #1
Senathon
LQ Newbie
 
Registered: Aug 2016
Posts: 10

Rep: Reputation: Disabled
Question Blank Screen after Building LFS 8.1 on USB External HDD


Second time doing this build and I am getting stuck at the blank(or black) screen with no text. I am using a external usb HD. I boot by going into the bios and use the USB drive option. Then I get a blank screen with a blinking cursor. I have to power down or do CTL-ALT-DEL to exit the screen. I am also using on board VGA with a standard monitor.

I am currently using the following:

/dev/sdb2 / ext4 defaults 1 1
/dev/sdb1 swap swap pri=1 0 0

/dev/sdb2 is set as a boot partition.


***grub.cfg***
# Begin /boot/grub/grub.cfg
# Boot = /dev/sdb2
set default=0
set timeout=5

GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"

GRUB_TERMINAL=console


insmod ext2
set root=(hd1,2) #HD1 = SDB, 2 = SDB2

menuentry "LFS Test" {

linux /boot/vmlinuz-4.12.7-lfs-8.1 root=/dev/sdb2 rootdelay=20 ro quiet
echo testing
}

In the grub.conf, I have changed "set root(hd0,2)" and "root=/dev/sdba2" incase the system recognized the HD as SDA.
~
 
Old 11-08-2017, 04:43 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
It depends where grub was installed to if it was the usb then it will be
set root=(hd0,2)
linux /boot/vmlinuz-4.12.7-lfs-8.1 root=/dev/sdb2 rootdelay=20 ro quiet

if it was on sda "hdd"
set root=(hd1,2)
linux /boot/vmlinuz-4.12.7-lfs-8.1 root=/dev/sdb2 rootdelay=20 ro quiet.
rootdelay is correct in kernel line when using external drive.

was the kernel built with all the correct drivers for USB? And other devices?

Are there any other errors when you boot? Dose it find the kernel?
 
  


Reply

Tags
black screen, lfs



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
can i build lfs on external hdd Roy_SRC Linux From Scratch 4 07-27-2014 07:17 AM
Booting Problem. Windows and ubuntu on internal hdd. Centos on External USB hdd faisal59 Linux - Distributions 1 07-17-2013 08:19 AM
Slow USB transfer rates (60kb p/s) External HDD --> Internal HDD drfrostbyte Linux - Hardware 4 03-28-2011 01:20 AM
lfs-livecd - How to switch off the shell screensaver / blank-screen? nitric Linux From Scratch 1 07-01-2008 01:16 PM
Building Screen-4.0.2 (and others...) on LFS cjcuk Linux From Scratch 5 12-17-2003 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:23 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