The officially official Devuan Forum!

You are not logged in.

#1 2022-10-01 23:23:51

Micronaut
Member
Registered: 2019-07-04
Posts: 228  

Installing from USB thumb drive

Since I don't want to fall behind, I decided it was time to install a copy of chimera. Trying to be 'up-to-date' in other ways as well, I created a thumb drive with Rufus instead of burning a DVD. But when I plugged the USB drive into the machine and tried to get it to install it complained it could not 'mount' the install media. ??? Didn't it already 'mount' the install media if the installer is running? Is there a problem with installing Devuan from a USB drive rather than a DVD?

Offline

#2 2022-10-01 23:52:18

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,259  

Re: Installing from USB thumb drive

Which iso?

Online

#3 2022-10-02 08:41:45

Camtaf
Member
Registered: 2019-11-19
Posts: 439  

Re: Installing from USB thumb drive

It's likely something to do with Rufus, I've had no problems with using dd to create installer pendrives.

Offline

#4 2022-10-02 08:46:08

Andre4freedom
Member
Registered: 2017-11-15
Posts: 174  

Re: Installing from USB thumb drive

Easiest way:
just download https://files.devuan.org/devuan_chimaera/installer-iso/devuan_chimaera_4.0.0_amd64_desktop.iso
test its checksum and dd it to a USB-stick.
The USB stick doesn't have to be partitioned or formatted, just dd it to the device file /dev/sd? and not to /dev/sd?1 or so. (? = your drive. Find out with lsblk)
Then boot that USB drive and of you go...

(sudo dd if=devuan_chimaera_4.0.0_amd64_desktop.iso of=/dev/sdb bs=1M)

Offline

#5 2022-10-02 08:47:10

Andre4freedom
Member
Registered: 2017-11-15
Posts: 174  

Re: Installing from USB thumb drive

Oh, you were quicker than me ;-)

Offline

#6 2022-10-02 09:06:08

rolfie
Member
Registered: 2017-11-25
Posts: 1,178  

Re: Installing from USB thumb drive

When booting the installer make sure you are booting either in legacy mode for a CSM installation or in UEFI mode for a modern efi installation.

Offline

#7 2022-10-02 09:57:26

Marjorie
Member
From: Teignmouth, UK
Registered: 2019-06-09
Posts: 221  

Re: Installing from USB thumb drive

Micronaut wrote:

But when I plugged the USB drive into the machine and tried to get it to install it complained it could not 'mount' the install media. ??? Didn't it already 'mount' the install media if the installer is running

Just too check: can I assume that having plugged in the usb drive you then rebooted, having prioritised the usb drive over the hard disk(s) in the bios?

Offline

#8 2022-10-03 00:05:53

Micronaut
Member
Registered: 2019-07-04
Posts: 228  

Re: Installing from USB thumb drive

Yes, I rebooted and it booted from the USB drive and started the installer. Then it complained it could not 'mount' the install media to get something it needed. Very odd.

This is the 4 GB 'desktop' ISO. I like a full install, don't want to have to download too much.

Offline

#9 2022-10-03 01:18:27

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,259  

Re: Installing from USB thumb drive

Perhaps you can capture /var/log/syslog from the installer and show here.

For instance use ctrl-alt-f2 to enter a shell at vt2, then set up a receiver

nc -l -p 10000 > capture.log

on another machine, say 10.0.0.5, and copy over with

nc -w 2 10.0.0.5 10000 < /var/log/syslog

from the installer shell to the receiver on that other machine.

The ISO is a s.c hybrid ISO that presents itself both as a CDROM and as a disk image with 2 partitions where the first is a CDROM and the second is a FAT filesystem (for UEFI boot). The partition block ranges overlap of course, as the FAT filesystem is in fact an image file within the CDROM, but the bios is not clever enough to worry about that.

In any case, the log file should give some lead to why the installer cannot find the CDROM.

Online

#10 2022-10-03 09:11:49

Camtaf
Member
Registered: 2019-11-19
Posts: 439  

Re: Installing from USB thumb drive

Latest version is 4.0.2 - try that.

Offline

#11 2022-10-03 09:51:25

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,259  

Re: Installing from USB thumb drive

No, the installer-iso is still version devuan_chimaera_4.0.0_amd64_desktop.iso.

I think @Camtaf is talking about desktop-live, which is a different alternative that many people prefer.

Online

#12 2022-10-03 13:39:36

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,494  

Re: Installing from USB thumb drive

If you don't want to re-make the usb with dd or cat, you might get around the problem with some creative symlinking to /cdrom. I've done it in the past, but it's been a few years. Try linking the usb mountpoint or a relevant directory on the usb to /cdrom.

Offline

#13 2022-10-03 16:38:34

Camtaf
Member
Registered: 2019-11-19
Posts: 439  

Re: Installing from USB thumb drive

ralph.ronnquist wrote:

I think @Camtaf is talking about desktop-live, which is a different alternative that many people prefer.

Yes, sorry, both 'live' versions have been updated, & I assumed that the 'desktop' would have been too, 'my bad', as some say. smile

Last edited by Camtaf (2022-10-03 16:38:57)

Offline

#14 2022-10-03 17:49:04

Devarch
Member
Registered: 2022-10-03
Posts: 69  

Re: Installing from USB thumb drive

https://www.ventoy.net/en/index.html
Probably this is the best solution for installation media. One need to create ventoy flash drive only once. Just copy iso file to that drive (or as many iso as possible) and boot from flash drive.

Last edited by Devarch (2022-10-03 17:50:09)

Offline

#15 2022-10-05 01:54:42

Micronaut
Member
Registered: 2019-07-04
Posts: 228  

Re: Installing from USB thumb drive

I've burned a DVD but haven't had the time to try again yet. It's gonna need a couple hours (at least) to install the OS and then all the little tweaks that I like in any distro. Probably this weekend I'll try again. If it still doesn't work I'm gonna be very annoyed.

But that 'ventoy' utility looks very interesting. Gonna have to try that out.

Offline

#16 2022-11-28 16:27:44

Micronaut
Member
Registered: 2019-07-04
Posts: 228  

Re: Installing from USB thumb drive

OK, I finally decided not to let myself be 'too busy' and actually try again. The install works flawlessly from a plastic disk. Same ISO. So why could it not do its job from a USB? Odd.

It was late at night when I did this, so I didn't do all my usual customizations yet. Now I'm preparing to do all the customization, such as installing the nVidia drivers. Has the odd problem of permanently incomplete install of proprietary video drivers been solved in chimaera? Or will I have to go back to those threads about elaborate extra steps to complete the installation?

Offline

#17 2022-11-28 16:45:35

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Installing from USB thumb drive

Micronaut wrote:

Has the odd problem of permanently incomplete install of proprietary video drivers been solved in chimaera?

Debian is over 20 years old now and has never, in all that time, included any proprietary video drivers in an official release. What makes you think that will change any time soon? And why do you describe it as "odd"? Supplying proprietary drivers is expressly forbidden by Debian's Social Contract.


Brianna Ghey — Rest In Power

Offline

#18 2022-11-28 17:31:01

Micronaut
Member
Registered: 2019-07-04
Posts: 228  

Re: Installing from USB thumb drive

You misunderstand what I am referring to. I am not complaining about the 'no non-free software by default' policy, I am referring to a permanent bug in the install of said software if you choose to do so. viz.

https://dev1galaxy.org/viewtopic.php?id=4802

Last edited by Micronaut (2022-11-28 17:31:20)

Offline

#19 2022-11-28 17:49:30

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Installing from USB thumb drive

Well you should have been more specific then tongue

Did you try the fix given at the end of the thread? Doesn't seem very "elaborate" to me... EDIT: drama queen.

Last edited by Head_on_a_Stick (2022-11-28 17:50:19)


Brianna Ghey — Rest In Power

Offline

#20 2022-11-29 03:02:25

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 648  

Re: Installing from USB thumb drive

I'm sure you know how to get rid of the unwanted packages, ... I know it's tedius but worth the effort.

at boot I go the recovery route, and edit the "linux" line to say... (check for conflicts)

vga=794 modeset.nouveau=0

The main trick is to have all the dependants installed, edit the module blacklist and boot the machine without the nouveau module loading before the install.


pic from 1993, new guitar day.

Offline

#21 2022-12-10 21:07:43

Micronaut
Member
Registered: 2019-07-04
Posts: 228  

Re: Installing from USB thumb drive

Nope, same old same old. Every time the system boots, I get the error:

[    0.862162] udevd[118]: Error running install command 'modprobe -i nvidia-current ' for module nvidia: retcode 1

Looks like the nVidia drivers just cannot be properly installed in Devuan. But the system does run, so at least it's a minor error, not a system ruining disaster.

Offline

#22 2022-12-10 23:48:35

Devarch
Member
Registered: 2022-10-03
Posts: 69  

Re: Installing from USB thumb drive

Micronaut wrote:

Has the odd problem of permanently incomplete install of proprietary video drivers been solved in chimaera? Or will I have to go back to those threads about elaborate extra steps to complete the installation?

Download unofficial non-free image of Debian and convert it installed to Devuan. There is always a choise.

Offline

#23 2022-12-11 14:44:26

delgado
Member
Registered: 2022-07-14
Posts: 213  

Re: Installing from USB thumb drive

Devarch wrote:

Download unofficial non-free image of Debian and convert it installed to Devuan.

Can't confirm that. The modprobe -i nvidia-current error in /var/log/dmesg is present in both cases, migration with installed nvidia drivers and devuan installation.

But, does it do something at all?
lsmod says nvidia modules are loaded, I' just ignoring it.

Offline

Board footer