Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Laptop Install Command Line With Networking Only

Ask for help with issues regarding the Installations of the Debian O/S.
Message
Author
Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Laptop Install Command Line With Networking Only

#16 Post by Dai_trying »

Have you tried installing from debian-9.4.0-amd64-xfce-CD-1.iso and not installing the desktop, this should give you a basic installation (which can also be done offline) and you can sort out the wifi once installed (that way you only configure it once).

I just tested in a VM and you just need to uncheck dekstop utilities and xfce when asked what software to install. During the installation you will be asked about networking card, simply tell it not to use one for the time being as you can set it up after install.

I understand this might not be exactly what you are looking for but it might be a possible solution.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Laptop Install Command Line With Networking Only

#17 Post by Head_on_a_Stick »

Pear wrote:If you know how to make the USB without unetbootin, would you mind telling me? The tutorials I'm finding don't work for me...
Your search-fu is poor :x

Always stick to the official Debian documentation, the installation guide is a good place to check so try a search for

Code: Select all

debian stretch installation guide
Then go to section 4.3.1 and follow the instructions.
Pear wrote:Output of "ip link"

Code: Select all

1: lo: <LOOPBACK,UP,LOWER_UP>mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1 link/loopback 00:00:00:00:00:00:00
2: wlp7s0: <BRODCAST,MULTICAST> MTU 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 0c:8b:fd:56:7d:3d brd ff:ff:ff:ff:ff
"/etc/network/interface"

Code: Select all

source /etc/network/interfaces.d/*
# The loopback network interface

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
dns-nameservers 8.8.4.4
wpa-ssid XXXXXXXXXX
wpa-psk xxxxxxxxxxxx
^ You have a perfectly functional wireless interface but you have called it the wrong name in the interfaces file...
deadbang

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Laptop Install Command Line With Networking Only

#18 Post by bw123 »

Pear wrote:
arochester wrote:Is this now relevant? https://www.blackmoreops.com/2014/09/18 ... -in-linux/
Probably?

The only way I get to command line is with a unetbootin made USB. Which I was told to immediately reinstall - but they didn't say how to make the USB with wifi firmware added - so I'm back to unetbootin.

So... I can try your advice to work with the wifi - but it's a unetbootin install - so I'm hosed from the get-go.


For today's session - I've been at this since 5:30 am. It's now 4:53 pm - another 12 hours wasted - in a string of days... ..it shouldn't be this hard - there's something I'm missing and I figured someone here would know what that is..


Can any one tell me how to install a laptop with command line and networking only?

Surely I'm not the only one that's attempted it.
You missed the part about reading the documentation. Debian installer won't setup wifi in ifup. You do that yourself, not that hard there are thousands of inernet postss about it.

Sounds like your the kind of dad that puts the bicycle together before reading the instructions? My dad was like that, made some weird bicycles.
resigned by AI ChatGPT

Pear
Posts: 12
Joined: 2018-06-09 15:47

Re: Laptop Install Command Line With Networking Only

#19 Post by Pear »

Some good responses and things to try..

New question:

I know the packages I'm wanting to install..

I tried to add using d-i but it didn't work after repacking as an iso. I created a file called "preseed.cfg" and put it in the root of the iso, when that didn't work I added it to "install/" and "install.amd64/" - neither of those worked either - so I don't know if the problem is the preseed file or the rolled up iso.

Here is the d-i line:

Code: Select all

d-i preseed/late_command string apt-install xorg lightdm lightdm-gtk-greeter mate-desktop-environment-core in-target;
Seems like I should be able to install the base system, then have late commands to tasksel to install what I'm needing (packages are in repositories) - because I have both a connection and a target.

I got the info from the Debian docs - but there's something I'm missing - for instance, I only found one place that told me where to put the preseed file; "in root", when that doesn't work, I have to try in another location, etc.. etc.. I don't know if it's the file, the line, the location or the roll-up - which makes it hard to troubleshoot the issue.


Does anyone know a working method to add a d-i preseed to just tell the installer what I'm looking for? How the line should be, where to put it and how to roll it back into an iso?

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Laptop Install Command Line With Networking Only

#20 Post by bw123 »

I'm confused by the whole thread. You have spent days and days, at least one twelve hour day, trying to remaster an iso for what reason? You don;t have to recreate the iso to use firmware during install, and there's no reason to use preseed just to do one laptop? is there?
Head_on_a_Stick wrote: Always stick to the official Debian documentation, the installation guide is a good place to check so try a search for

Code: Select all

 debian stretch installation guide
found this searching: debian "hp split"
http://www.linlap.com/hp_split_13t-m100_x2_pc
resigned by AI ChatGPT

Pear
Posts: 12
Joined: 2018-06-09 15:47

Re: Laptop Install Command Line With Networking Only

#21 Post by Pear »

bw123 wrote:I'm confused by the whole thread. You have spent days and days, at least one twelve hour day, trying to remaster an iso for what reason? You don;t have to recreate the iso to use firmware during install, and there's no reason to use preseed just to do one laptop? is there?
What are you talking about - It shouldn't be confusing, and I am using firmware.

The laptop has a 128G drive, so I'm wanting to install the core Mate desktop only.

It's how I install my desktop PC using Ubuntu (what I'm typing to you now from). After the mini install, my NIC is recognized, so I can just grab my install script from my server using wget and run it to install the core desktop (without all the extra stuff).. I prefer no extra stuff installed - for instance, I don't use any text editor in the repos, I use a paid Sublime Text editor. I don't use any movie player, I use my own custom built firefox and it plays local files just fine - etc..

I'm switching to Debian for the first time. I had been using Ubuntu since 2006 for home machines and my servers are all RHE - so I thought maybe there was something I was doing wrong with Debian or this laptop, and hence the post here - which confused you.


Really, I shouldn't need to explain why I'm wanting to do something. Your answer simply wasn't helpful.


I'll get it figured out - thanks to all that responded helpfully.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1404
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 68 times

Re: Laptop Install Command Line With Networking Only

#22 Post by None1975 »

Pear wrote: I use my own custom built firefox and it plays local files just fine - etc..
Sounds interesting. Do you have github repo?
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Laptop Install Command Line With Networking Only

#23 Post by Wheelerof4te »

I see you got it figured out, but I'll leave this for future reference:
Pear wrote:The laptop has a 128G drive, so I'm wanting to install the core Mate desktop only.
https://wiki.debian.org/Mate

Code: Select all

apt install mate-desktop-environment-core
Which gets you pure MATE without extra cruft and only a file manager+terminal.
Also, a fair warning about not mixing Ubuntu and Debian packages/repos. So your script shoult point to Debian mirrors, using Debian's package naming format.

Post Reply