Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to prepare an installation medium (without CD)
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
WavyLinesAreNotReal
n00b
n00b


Joined: 19 Dec 2016
Posts: 9

PostPosted: Mon Dec 19, 2016 7:35 am    Post subject: How to prepare an installation medium (without CD) Reply with quote

Hi,

I would like to install Gentoo using an external harddrive (or a USB flashdrive) as the installation medium instead, without ever using a CD. How does one prepare these storage devices so that they can booted for the install procedure?

Sincerely,
WavyLinesAreNotReal
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21782
Location: here

PostPosted: Mon Dec 19, 2016 7:44 am    Post subject: Reply with quote

Use systemrescuecd that is gentoo based.
On site there's the procedure for create a usb stick
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7972
Location: ~Brussels - Belgique

PostPosted: Mon Dec 19, 2016 7:44 am    Post subject: Reply with quote

Hi!,

You can simply download any Live USB Linux distribution.

My favorite is SystemRescueCD, which is compatible with BIOS and UEFI, small, full of system utilities, has a graphical interface and a lot of network drivers, and is based on Gentoo.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
WavyLinesAreNotReal
n00b
n00b


Joined: 19 Dec 2016
Posts: 9

PostPosted: Mon Dec 19, 2016 9:01 pm    Post subject: Reply with quote

Umm... guys... I'm sure SystemRescueCD is great, but... it's not Gentoo. I was looking for a way to install Gentoo, not to change distribution.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7092
Location: Saint Amant, Acadiana

PostPosted: Mon Dec 19, 2016 9:04 pm    Post subject: Reply with quote

Start reading the Handbook and you will realize nothing from install media becomes part of your Gentoo installation.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Dec 19, 2016 9:05 pm    Post subject: Reply with quote

WavyLinesAreNotReal wrote:
Umm... guys... I'm sure SystemRescueCD is great, but... it's not Gentoo. I was looking for a way to install Gentoo, not to change distribution.
SystemRescueCd is Gentoo-based—but that's not a requirement for a Gentoo installation. Rest assured that nothing, not one single bit, from the installation CD ends up part of the installed Gentoo.

Edit: Jaglover beat me to it. ;)

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Dec 19, 2016 9:09 pm    Post subject: Reply with quote

WavyLinesAreNotReal,

The boot media is just a toolkit to accomplish your Gentoo install.
As long as you boot a 64 bit kernel to do a 64 bit install you will be good.

The Gentoo binaries you need to start the install are contained in the stage3 tarball, which you will download, using your toolkit of choice, during the install process.
_________________
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
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9235

PostPosted: Tue Dec 20, 2016 4:57 am    Post subject: Reply with quote

WavyLinesAreNotReal wrote:
Umm... guys... I'm sure SystemRescueCD is great, but... it's not Gentoo. I was looking for a way to install Gentoo, not to change distribution.
So long as the system that you are installing is compatible with the one you are already using, at the kernel level (for instance you would be able to do an x86 install if you already run an amd64 kernel), you can just use your installed system as the live system during the install to the external drive and otherwise essentially follow the handbook. The main special things to keep in mind are making sure that you have all of the necessary drivers built in, or in an initrd/initramfs, and to use UUID type references for partitions instead of partition names, as device names are even more likely to change across boots. Remember to set up your primary bootloader, or chainloading, before trying to reboot into the Gentoo system (forgetting to do so is more common than you might think).
Back to top
View user's profile Send private message
tshade
n00b
n00b


Joined: 01 Oct 2007
Posts: 7

PostPosted: Wed Dec 21, 2016 5:44 pm    Post subject: Reply with quote

Download System Rescue CD, which IS gentoo. Use unetbootin to burn the image into a pendrive. You can also burn original Gentoo minimal or LiveCD isos.
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 159

PostPosted: Thu Dec 29, 2016 3:27 pm    Post subject: Reply with quote

Just wondering why it cant be usb stick ready iso files there. Usually unetinbootin doesnt work and have to go to windows machine to make live usb stick.. if someone could do at least live-dvd ready to use ff command would be very helpfull...

from working live usb stick to an iso -> ff if=/dev/sdx of=/livedvd.iso and share that livedvd.ido
So all one willing to install or use gentoo livedvd would be download that image and use command ff if=/livedvd.iso of=/dev/sdc

Its very frustrating everytime to start fixing something to be able to make that stick - unetinbooting usually doesnt work :(

Please someone..
Back to top
View user's profile Send private message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Fri Dec 30, 2016 3:56 am    Post subject: Reply with quote

Hello!

Do you:
    1) have an iso file?
    2) have a machine running linux?
    3) have an usb stick?


If you have all, then all right, just do the following:
    1) backup your data in usb stick
    2) plug in your usb stick
    3) use lsblk to find it path
    4) run this command to make a bootable usb stick:
    Code:
    sudo dd bs=4M if=/path/to/gentoolinux.iso of=/dev/sdx status=progress && sync


NOTE: 'sdx' means the usb stick, not its partition; and if lsblk cannot find the usb stick, just mount it!

That's all! No need SystemRescueCD!
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7092
Location: Saint Amant, Acadiana

PostPosted: Fri Dec 30, 2016 4:08 am    Post subject: Reply with quote

You need hybrid ISO to boot from USB, this is what isolinux is for. Use it with --uefi switch to make EFI bootable USB stick. Going to Windows to make a bootable USB stick ... you gotta be kidding.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Fri Dec 30, 2016 5:14 am    Post subject: Reply with quote

Please consult this link: https://wiki.gentoo.org/wiki/LiveUSB
In my opinion, the gentoo minimal iso file should support UEFI as well...
But the fact, I should say nothing to it, just disappointed...
Quote:
Notice Gentoo's Minimal Installtion CD is not recommendable for Live USB, because it can't be booted from UEFI.

So, just dd the iso file to usb stick, and give a try...
In fact, you should use sync after using dd, that is missing in the guide.
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 159

PostPosted: Sat Dec 31, 2016 2:59 pm    Post subject: Reply with quote

Jaglover wrote:
You need hybrid ISO to boot from USB, this is what isolinux is for. Use it with --uefi switch to make EFI bootable USB stick. Going to Windows to make a bootable USB stick ... you gotta be kidding.


Once or twice when i have needed to make a bootable stick unetinbootin have worked without a hassle and one time was with ubuntu :) Its pain in the ass to have it and it doesnt work allthough it doesnt report any errors.. Newer made non working usb stick with windows :( That sucks.
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