View previous topic :: View next topic |
Author |
Message |
AustinMatherne n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/98221287752b8ac4560022.jpg)
Joined: 25 Jul 2012 Posts: 32 Location: Minneapolis, Minnesota, USA
|
Posted: Mon Oct 01, 2012 8:08 pm Post subject: New Minimal Install ISO Not Bootable From USB? |
|
|
The new amd64 minimal install ISO is problematic when placed on a USB drive. I don't have a CD drive, so it may be buggy when booting from a CD, as well.
If I use UNetbootin it isn't bootable (I verified the SHA-512 sum). I would like to attempt to manually load it onto a USB drive; however, the file placement in the ISO has changed and no longer matches that which is described in the Gentoo Linux LiveUSB HOWTO.
Does anyone know how to load the amd64 minimal install ISO onto a USB thumb drive? None of the guides I found from searching work with the latest ISO. Otherwise I guess I'll just use the minimal instal ISO from June or SystemRescueCd. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54530 Location: 56N 3W
|
Posted: Mon Oct 01, 2012 8:12 pm Post subject: |
|
|
AustinMatherne,
Use SystemRescueCD instead. Its Gentoo, it has /mnt/gentoo already, it has both 32 bir and 64 bit kernels. It provides Xorg of you want it.
Oh and the cover art includes the words "Don't Panic!" in large friendly letters :)
OK - one of the above is an exaggeration _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AustinMatherne n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/98221287752b8ac4560022.jpg)
Joined: 25 Jul 2012 Posts: 32 Location: Minneapolis, Minnesota, USA
|
Posted: Mon Oct 01, 2012 8:19 pm Post subject: |
|
|
I already have SystemRescueCD on a USB stick, so I'll probably just use it (I was already going to use it before the minimal install CD to setup a btrfs partition). Is there anything I need to keep in mind that might be different when using it?
The alternative installation HOWTO has some extra steps for using Knoppix. I take it SystemRescueCD doesn't require any extra steps because it's based on Gentoo?
http://www.gentoo.org/doc/en/altinstall.xml#doc_chap3 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54530 Location: 56N 3W
|
Posted: Mon Oct 01, 2012 9:28 pm Post subject: |
|
|
AustinMatherne,
There are no extra steps as SystemRescueCD provides the /mnt/gentoo mount point and you a root from boot. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pidsley Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 09 Jun 2012 Posts: 80
|
Posted: Mon Oct 01, 2012 11:58 pm Post subject: |
|
|
If you use SystemRescueCd, you can just use the install instructions in the Gentoo Handbook. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AustinMatherne n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/98221287752b8ac4560022.jpg)
Joined: 25 Jul 2012 Posts: 32 Location: Minneapolis, Minnesota, USA
|
Posted: Tue Oct 02, 2012 5:28 am Post subject: |
|
|
I'm just going to use the SystemRescueCd, but I figured I should update this thread anyway.
I am able to create a bootable CD from the latest minimum install ISO in a Linux system using the standard HOWTO; however, there are the following errors during boot:
Code: | mkdir: cannot create directory '/var/run' : File exists
failed to create needed directory /var/run
ERROR: bootmisc failed to start
...
mkdir: cannot create directory '/var/run' : File exists
failed to create needed directory /var/run
ERROR: bootmisc failed to start
...
Error creating persistent state file; filename='/var/lib/misc/syslog-ng.persist-', error='No such file or directory (2)'
start-stop-daemon: failed to start '/usr/sbin/syslog-ng'
Failed to start acpid
...
ERROR: rpcbind failed to start
ERROR: cannot start rpc.statd as rpcbind would not start
ERROR: cannot start nfsmount as rpcbind would not start
...
ERROR: cannot start autoconfig as acpid would not start |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SuperTek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Apr 2003 Posts: 17 Location: Brazil
|
Posted: Tue Oct 02, 2012 6:57 am Post subject: |
|
|
I am trying to install Gentoo again after many years and I'm also getting these erros during boot. Can anyone help? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mythy Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_7_-_Cloud.gif)
Joined: 17 Jul 2012 Posts: 75
|
Posted: Tue Oct 02, 2012 9:30 am Post subject: |
|
|
Hello,
Same problem, using last minimal ISO, USB FAT32 formatted and unetbootin-windows-578 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djroot2 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Sep 2003 Posts: 25
|
Posted: Tue Oct 02, 2012 12:18 pm Post subject: |
|
|
There is definitely an issue with the current AMD64 minimal install cd.
I got these same errors and just created the missing folders once I got a shell and started the processes manually. It took a while to get autoconfig going. After the initial wait and various things timing out, I checked rc-status and saw gpm was crashed so i issued a restart on that. rc-status showed autoconfig was stopped again so I told it to start and everything seemed to be good again.
Code: |
mkdir -p /run/lock
mkdir -p /var/spool/mail
mkdir /var/lib/misc
/etc/init.d/syslog-ng start
/etc/init.d/autoconfig start
/etc/init.d/gpm restart
/etc/init.d/autoconfig start
dhcpcd eth0
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mythy Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_7_-_Cloud.gif)
Joined: 17 Jul 2012 Posts: 75
|
Posted: Tue Oct 02, 2012 2:51 pm Post subject: |
|
|
I did your fix and it works for the rc-status, all is now green.
But when I want to start SSHD, I got this error :
Code: | ssh-keygen : symbol lookup error : ssh-keygen : undefined symbol : EC_KEY_new_by_curve_name |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
likewhoa l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Wed Oct 03, 2012 2:22 am Post subject: |
|
|
@AustinMatherne and @thosethatdontknowalready *all* Gentoo minimal isos are capable of becoming hybrid isos that can be dd to a removable device with only two steps.
- # isohybrid image.iso
- # dd if=image.iso of=/dev/sdb bs=8192k
where /dev/sdb is your removable device. DO NOT point to a partition, also keep in mind all data will be destroyed on it!!! you have been warned. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SuperTek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Apr 2003 Posts: 17 Location: Brazil
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AustinMatherne n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/98221287752b8ac4560022.jpg)
Joined: 25 Jul 2012 Posts: 32 Location: Minneapolis, Minnesota, USA
|
Posted: Wed Oct 03, 2012 3:31 pm Post subject: |
|
|
I just got done installing using SystemRescueCd last night. I ran into an unrelated problem with btrfs, but SystemRescueCd worked like a charm.
SuperTek: Nice find.
likewhoa: That creates a bootable usb drive; however, it still suffers from the same issue. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
likewhoa l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Thu Oct 04, 2012 2:36 pm Post subject: |
|
|
AustinMatherne wrote: | likewhoa: That creates a bootable usb drive; however, it still suffers from the same issue. |
I cannot reproduce this, so you'll have to come up with a way I can reproduce your boot error using isohybrid on the minimal install cds. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
faustoab n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Oct 2012 Posts: 2
|
Posted: Thu Oct 18, 2012 12:45 am Post subject: |
|
|
The same happens here.
You can reproduce it by trying to boot the last gentoo amd64 minimal iso at a VirtualBox machine.
At the boot, after config the keyboard:
* WARNING: rc_sys not defined in rc.conf. Falling back to automatic detection
* ...
* Configuring kernel parameters ...
mkdir: cannot create directory '/var/run': File exists
* failed to create needed directory /var/run
*ERROR: bootmisc failed to start
And from now on, lot of errors happening:
if you try: syslog-ng
=> Error creating persistent state file; filename=' /var/lib/misc/syslog-ng.persist-' ', error='No such file or dicrectory'
Obs: theres no /var/lib/misc path
I notice that with this release:
http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20121013.iso
And the release before this one, it also happened. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cach0rr0 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/14936637654ee19d6630f96.gif)
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Thu Oct 18, 2012 4:19 am Post subject: |
|
|
FWIW - as of a day or two ago I was able to use Grub2 installed to my thumb drive, booting the livedvd iso directly. havent tried with the minimal - sysrescuecd is always the correct choice if you were otherwise planning on using the minimal .iso
anyone that cares about the livedvd on a thumb drive (i actually have a thumb drive that has sysrescuecd, gentoo livedvd, and backtrack5, on my car keychain), the short version was (making this thumb drive from a gentoo laptop, btw)
-unmount my laptop's *real* /boot partition
-partition thumb drive as one massive ext2 volume
-mount massive ext2 partition as /boot
-do a "grub2-install /dev/sdb" where /dev/sdb is the thumb drive
-copy the iso to /boot/ (which is actually just the root of the thumb drive)
-manually set up a /boot/grub2/grub.cfg (again, this grub.cfg is *on* the thumb drive, i dont want grub2 to be used for my laptop) like so
Code: |
menuentry "Gentoo LiveDVD 32bit" {
loopback loop /livedvd-x86-amd64-32ul-2012.1.iso
linux (loop)/boot/gentoo root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz isoboot=/livedvd-x86-amd64-32ul-2012.1.iso
initrd (loop)/boot/gentoo.igz
}
menuentry "Gentoo LiveDVD 64bit" {
loopback loop /livedvd-x86-amd64-32ul-2012.1.iso
linux (loop)/boot/gentoo64 root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo64.igz isoboot=/livedvd-x86-amd64-32ul-2012.1.iso
initrd (loop)/boot/gentoo64.igz
}
|
-umount /boot. I generally despise grub2, and dont want grub2 to clobber any of my grub-0.97 stuff. But it's handy for booting .iso's directly. So I make sure my real /boot is untouched by grub2.
i cant/wont comment on the minimal cd image. I dont use it. There is no reason to use it instead of sysrescuecd. But hopefully the above bits help someone _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
faustoab n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Oct 2012 Posts: 2
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
naviathan Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/123068160424a7cdb06ed9.gif)
Joined: 12 Dec 2004 Posts: 231
|
Posted: Sun Oct 21, 2012 7:48 pm Post subject: |
|
|
The problem with the minimal disk is several broken symlinks in the /var directory. You can manually delete these links and create the necessary folders and everything works fine.
EDIT
Symlinks to delete and recreate as directories:
/var/lock
/var/run
/var/mail
/var/lib/misc
Once you've created these directories run:
/etc/init.d/syslog-ng start
/etc/init.d/dhcpcd start
Everything should be functioning as needed to continue your Gentoo install using the minimal x86_64 cd. _________________ I respect faith, but doubt is what gives you an education.
-- Wilson Mizner
Last edited by naviathan on Tue Oct 23, 2012 5:05 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon Oct 22, 2012 1:28 pm Post subject: |
|
|
... to follow on from cach0rr0's post, the current sysrescuecd iso can be booted similarly with the following:
Code: | menuentry "SystemRescueCD-x86 3.0.0 altker32 docache" {
search --no-floppy --set -f /systemrescuecd-x86-3.0.0.iso
loopback loop /systemrescuecd-x86-3.0.0.iso
linux (loop)/isolinux/altker32 docache setkmap=us isoloop=systemrescuecd-x86-3.0.0.iso
initrd (loop)/isolinux/initram.igz
} |
Obviously you may want to change the boot options.
A similar method for EFI can be created with an ESP (EFI System Partition) and grub2.efi (under {ESP}/efi/boot/bootx64.efi or {ESP}/efi/boot/bootia32.efi).
best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
h017ah n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Apr 2007 Posts: 46
|
Posted: Sun Oct 28, 2012 8:51 pm Post subject: |
|
|
Tested today with install-amd64-minimal-20121013.iso, even if you fix the issue with missing /run-folder, you still cannot start sshd due to missing ECDSA-related symbols. I get the error described in this post here: https://forums.gentoo.org/viewtopic-t-907592-highlight-eckeynewbycurvename.html
It has been like this for some weeks, seems a bit silly :) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kanafan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11123177394deed5d81df2b.jpg)
Joined: 08 Jun 2011 Posts: 1
|
Posted: Tue Nov 13, 2012 8:13 pm Post subject: |
|
|
This problem persists (install-amd64-minimal-20121107.iso)
/run is missing, several errors about it, etc.
I am using a USB drive. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
iamben Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 May 2004 Posts: 278
|
Posted: Tue Nov 13, 2012 8:44 pm Post subject: |
|
|
The sshd & /var/run errors are known bugs and are not related to USB boot. They are being worked on. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chemonz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/15707038334ffdce36bccfa.jpg)
Joined: 07 Jul 2012 Posts: 8 Location: Brasil
|
Posted: Sat Nov 17, 2012 10:34 pm Post subject: |
|
|
kanafan wrote: | This problem persists (install-amd64-minimal-20121107.iso)
/run is missing, several errors about it, etc.
I am using a USB drive. |
This problem is also occurring via liveCD to generate the catalyst.
I reported this problem to the developers by email catalyst and had no return.
This bug is making me angry. _________________ Att,
Raphael Bastos
Linux Reg. User: 388431 // LPI ID: LPI000214711
email:~> $ echo "vgepqnqikcBdcuvquugtxkeg0eqo0dt" | perl -pe \ 's/(.)/chr(ord($1)-2)/ge'
Projeto pessoal:~> http://wiki.hackstore.com.br |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chemonz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/15707038334ffdce36bccfa.jpg)
Joined: 07 Jul 2012 Posts: 8 Location: Brasil
|
Posted: Mon Nov 19, 2012 3:20 am Post subject: |
|
|
I have customized my spec stage1 and stage2 of the catalyst using liveCD
Strange but use systemd for init I solved the problem with the directory /run. Everything works perfectly now after generating the liveCD using the catalyst _________________ Att,
Raphael Bastos
Linux Reg. User: 388431 // LPI ID: LPI000214711
email:~> $ echo "vgepqnqikcBdcuvquugtxkeg0eqo0dt" | perl -pe \ 's/(.)/chr(ord($1)-2)/ge'
Projeto pessoal:~> http://wiki.hackstore.com.br |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
clavko n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2008 Posts: 25
|
Posted: Fri Dec 14, 2012 10:15 am Post subject: |
|
|
Using advice from likewhoa about hybridiso and 20121210 minimal cd
there are no more problems for me, i guess ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|