Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to boot from LiveUSB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ygyfygy
n00b
n00b


Joined: 27 Jun 2015
Posts: 10

PostPosted: Sat Jun 27, 2015 7:09 pm    Post subject: Unable to boot from LiveUSB Reply with quote

When booting from LiveUSB I experience a strange bug. My computer is Asus X750JB with cd drive replaced by a sata disk. I've tried everything: using different programs to create a bootable drive, modyfying the boot options, changing in BIOS IDE to AHCI, plugging in and out the usb drive (solution from this forum), modyfying the boot options. Arch works on this computer just fine.

Screenshots:

http://imgur.com/Vq5Ftmx

http://imgur.com/nWG6sOa

http://imgur.com/uHiQWoj

http://imgur.com/rA3tp0G

http://imgur.com/wHVLwfo
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43378
Location: 56N 3W

PostPosted: Sat Jun 27, 2015 7:51 pm    Post subject: Reply with quote

ygyfygy,

Welcome to Gentoo.

I can't tell what you have a liveUSB of but it dosen't matter as none of the code from the boot media goes into your install.
I can see that you are dropped into the initrd rescue shell, which is a bad thing.
Get System Rescue CD and put it onto a USB stick. There is a script and instructions for doing that on the site.

Its Gentoo based, allows you to follow the Gentoo handbook with no extra steps, has good WiFi support and an optional GUI so you can be online while you install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ygyfygy
n00b
n00b


Joined: 27 Jun 2015
Posts: 10

PostPosted: Sat Jun 27, 2015 8:47 pm    Post subject: Reply with quote

@NeddySeagoon
Didn'r work :((. I'm able to tell the shell to chroot to my Arch but it freezes, because of systemd-openrc incompatibility
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43378
Location: 56N 3W

PostPosted: Sat Jun 27, 2015 8:50 pm    Post subject: Reply with quote

ygyfygy,

What systemd-openrc incompatibility?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ygyfygy
n00b
n00b


Joined: 27 Jun 2015
Posts: 10

PostPosted: Sat Jun 27, 2015 8:53 pm    Post subject: Reply with quote

Systemd gives me an error and freezes. I thought it is because of openrc.
Back to top
View user's profile Send private message
ygyfygy
n00b
n00b


Joined: 27 Jun 2015
Posts: 10

PostPosted: Sat Jun 27, 2015 8:58 pm    Post subject: Reply with quote

@NeddySeagoon
When I type in shell /dev/sdc1 it says "could not find boot block device in /dev/sdc1". When I type /dev/sdb2 (my Arch) systemd freezes and gives me an error.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43378
Location: 56N 3W

PostPosted: Sat Jun 27, 2015 9:11 pm    Post subject: Reply with quote

ygyfygy,

Start from System Rescue CD.

There is no openrc nor systemd in the initrd that provides the rescue shell.
As you get on error from systemd, it may be that the liveCD kernel does not support systemd. However, gentoo allows to switch between the openrc and systemd, if you wish, so I think that is uslikely too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ygyfygy
n00b
n00b


Joined: 27 Jun 2015
Posts: 10

PostPosted: Sat Jun 27, 2015 9:28 pm    Post subject: Reply with quote

@NeddySeagoon
Starting System Rescue CD with default options hangs on pci devices. When I try different options sysrescd complains "/isolinux/ifcpu64.c32: file not found". That file exists. I've also tried replacing the original ifcpu64.c32 with that file from my current install. Notjing changed. I think that openrc just doesn't like my lappy.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43378
Location: 56N 3W

PostPosted: Sat Jun 27, 2015 9:59 pm    Post subject: Reply with quote

ygyfygy,

Its not got as far as openrc. It sounds more like your USB image is corrupt.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dr_vic
n00b
n00b


Joined: 04 Apr 2014
Posts: 14

PostPosted: Sat Jun 27, 2015 10:07 pm    Post subject: Reply with quote

NeddySeagoon wrote:
...It sounds more like your USB image is corrupt.

Or start from Hybrid ISO (LiveDVD).
Back to top
View user's profile Send private message
ygyfygy
n00b
n00b


Joined: 27 Jun 2015
Posts: 10

PostPosted: Sat Jun 27, 2015 10:09 pm    Post subject: Reply with quote

@NeddySeagoon
I've also tried livedvd with the same result.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43378
Location: 56N 3W

PostPosted: Sat Jun 27, 2015 10:26 pm    Post subject: Reply with quote

ygyfygy,

How did you create the live USB for System Rescue CD?

How did you create the USB for the live DVD?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ygyfygy
n00b
n00b


Joined: 27 Jun 2015
Posts: 10

PostPosted: Sat Jun 27, 2015 10:37 pm    Post subject: Reply with quote

@NeddySeagoon
I've tried dd, unetbootin, rufus, linux live usb creator, universal usb installer.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43378
Location: 56N 3W

PostPosted: Sat Jun 27, 2015 10:53 pm    Post subject: Reply with quote

ygyfygy,

dd should work for the liveDVD.

For system Rescue CD, follow the instructions on the website and use the provided script.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dr_vic
n00b
n00b


Joined: 04 Apr 2014
Posts: 14

PostPosted: Sat Jun 27, 2015 11:00 pm    Post subject: Reply with quote

You can use efibootmgr to delete efi entries, change boot order, etc.
Try to boot from your Archlinux USB drive.
Run "efibootmgr -v" and delete unneeded entries. For example: "efibootmgr -b 0002 -B".
Back to top
View user's profile Send private message
ygyfygy
n00b
n00b


Joined: 27 Jun 2015
Posts: 10

PostPosted: Mon Jun 29, 2015 7:45 pm    Post subject: Reply with quote

@NeddySeagoon
All right, I'm able to run sabayon live cd (plug & play). It also complains about media not found, but manages to boot and run really smoothly. I think I will try installing Gentoo from the Sabayon live cd. I will install it in September, as I am going on a camp a day after tomorrow and I don't have enough time to install it. My parents didn't let me take my lappy with me. I don't think that compiling Gnome for hours is a good way to popularise GNU/Linux. And how long does it take to compile @world (for systemd, only the tarball), Gnome, Xorg and kernel on i7 2.4-3.5 Ghz*8? Compiling Krita (800 MB source code) on Arch took me ~2h, but I didn't usse -j10 because I wanted to use my computer normally while installing Krita.


Last edited by ygyfygy on Mon Jun 29, 2015 8:02 pm; edited 3 times in total
Back to top
View user's profile Send private message
ygyfygy
n00b
n00b


Joined: 27 Jun 2015
Posts: 10

PostPosted: Mon Jun 29, 2015 7:53 pm    Post subject: Reply with quote

Also, how fast is OpenRC? On my Crucial SATA3 SSD Arch it's really fast (I haven't compiled the kernel):

ygyfygy➜~» systemd-analyze [21:52:51]
Startup finished in 1.785s (kernel) + 726ms (userspace) = 2.511s
ygyfygy➜~»

EDIT: I found out that in order to use Gnome I will have to use systemd.
Back to top
View user's profile Send private message
ygyfygy
n00b
n00b


Joined: 27 Jun 2015
Posts: 10

PostPosted: Mon Jun 29, 2015 8:03 pm    Post subject: Reply with quote

@NeddySeagoon

And thanks for your patience :) .
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum