LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-26-2019, 11:19 AM   #1
Fram2
LQ Newbie
 
Registered: Dec 2019
Posts: 1

Rep: Reputation: Disabled
Converting debian installation to Slackware


I've been trying to endure debian simply because it installs on my mac however it's quite bad and I would like to copy over Slackware onto that drive, which boots perfectly fine i.e. the EFI setup is perfect. Is it possible to replace debian in this way?
 
Old 12-26-2019, 11:34 AM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
My only experience with this is a roommate owned a Mac Book Pro which had some annoying problems that escalated to the point where OSX became slow and troublesome and asked my help oddly enough since I know little about Macs beyond history. I was surprised and please to see that Slackware Live booted and ran very nicely, even snappy, on the Mac. Since the bootloaders available on Slackware Live are identical to the Install Disk, I can imagine no obstacle past that point if what you mean is a new, clean installation. I do imagine it would be wise to first prepare the disk partitions at the very least as a failsafe since I can't recall if both Syslinux and EFI boot worked. I'm only certain that EFI did since the little "EFI" labeled icon came up and I remember that.

Last edited by enorbet; 12-26-2019 at 11:37 AM.
 
Old 12-26-2019, 12:11 PM   #3
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by Fram2 View Post
I've been trying to endure debian simply because it installs on my mac however it's quite bad and I would like to copy over Slackware onto that drive, which boots perfectly fine i.e. the EFI setup is perfect. Is it possible to replace debian in this way?
I do not believe that there's another way to migrate from Debian to Slackware other than a full backup of your data then to format your system partition and do a clean Slackware install.

Debian and Slackware are really different Linux distros and dumping the second one files over is a perfect solution for a full mess ahead.
 
Old 12-26-2019, 12:30 PM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by ZhaoLin1457 View Post
I do not believe that there's another way to migrate from Debian to Slackware other than a full backup of your data then to format your system partition and do a clean Slackware install.
I agree. Regardless of how you migrate from Debian to Slackware I would back-up all of the data that you can't afford to lose before you start the migration process.
I also think that a clean install of Slackware would be the way to go.
 
Old 12-26-2019, 12:33 PM   #5
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
If by replace you mean substitute, then as long as Slackware runs on the Mac, yes. Grab a copy of the Live ISO to test against you system.

If by replace you mean convert from Debian, then no.

Either way, the Debian partition will need to be wiped before installing Slackware. Before wiping perhaps save the installed package list to help install the Slackware equivalents. For example, dpkg -l | grep ^ii | awk '{print $2,$3}' > some_text_file.txt.

Quote:
however it's quite bad
Not asking for distro bashing, but I'm curious what is being bad for your user experience.
 
1 members found this post helpful.
Old 12-27-2019, 02:18 AM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Well... I neither endorse nor recommend this, but I have done it in the past. If you have some space left over at the end of the disk (or can create some), install a minimal Slackware environment onto that partition with this:
Code:
ROOT=/mountpoint_of_that_partition installpkg /path/to/slackware/a/*.t?z
Configure Debian's bootloader to boot that minimal installation and ensure it all works.
Once that's verified, make sure you have at least the L and N package sets (or everything, if there's space) on a flash drive or something that you can access from that minimal installation. Boot that minimal Slackware, repartition the entire disk (except for the small partition from which you'll be running), install the full Slackware to the disk, install Slackware's bootloader over Debian's, and go from there. You can use the small partition as swap or something after that.

EDIT: you could technically skip the repartitioning -- just "rm -rf" the stuff on the Debian partition(s) and then install to them normally.

The backstory is basically this: this is how I "upgrade" remote servers on the rare occasion that an upgrade has to occur AND it has to be a clean installation AND I cannot get timely access to the physical premises. It's only happened once (and I hope it never happens again), but sometimes we do what has to be done :-)

Last edited by rworkman; 12-27-2019 at 02:19 AM.
 
5 members found this post helpful.
Old 01-02-2020, 10:37 AM   #7
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Trim partition, install Slackware along and then decide. Maybe your Debian dislike is temporarily only - and maybe Slackware would be as much disappointment as Debian.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Hikvision NVR to Linux server to allow installation of alternative VMS Linuxcctv Linux - Hardware 9 03-27-2024 05:50 AM
Converting Linux installation to UnionFS/Aufs and keep changes? linuxlicious Linux - General 2 11-18-2013 04:48 PM
LXer: Converting Installation Files LXer Syndicated Linux News 0 09-11-2013 09:31 PM
installation of Nokia 5510, mounting its flash and converting mp3s into lsa jogurt666 Linux - Hardware 9 10-02-2004 05:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration