SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well you've all sorts of things crammed in there, break down your situation into a single manageable issue - you can't be looking at samba configurations if your wifi connection is not working at all... If you have a valid working network connection between two boxes the easiest thing to do is probably just to use winscp on windows and copy stuff directly over the (probably) existing SSH server on slack.
I've just bought an all-new hp pavilon dv4-2114br
and I realized that I can't install slack on it... (cfdisk doesn't run)
Sure you can use Slackware, just download gparted, or partician magic and repartician your hdd.
ok, so all I need is to copy some folders from my slack desktop to my windows netbook.
Why don't you just download Slackware iso and do a fresh install, it will compile against the hardware
that you have and be more stable. That way audio,video & network will all work.
For synchronising my laptop and desktop, I use an app called unison. There is a slackbuild at slackbuilds.org
Works brilliantly over both wireless and wired LAN (and probably Internet too). Configuration is easy - a very simple textfile to set excludes and other options, and supports includes for profile sharing.
Before you get to that, though, it sounds as if you have wlan adapters in your desktop and laptop? And no router or access point? I'll let someone else deal with explaining the pain of setting up an Ad-hoc connection...
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Quote:
Originally Posted by erickFis
and I realized that I can't install slack on it... (cfdisk doesn't run)
Sorry, but that is a lame excuse. "cfdisk doesn't run". So you decide then to not install Linux? Have you really put effort in why cfdisk doesn't rum (how it doesn't run?). Now because you gave up om cfdisk immediately you are encountering a lot of new problems.
By chickening out at the first problem you have, you give an excellent example of "replacing one known problem with a lot of unknown problems"
Until it is proven that something doesn't work, and will never work, stick with your attempts to solve the problem you have, instead of turning to other ways. You'll never get to the end.
Sorry, but that is a lame excuse. "cfdisk doesn't run". So you decide then to not install Linux? Have you really put effort in why cfdisk doesn't rum (how it doesn't run?). Now because you gave up om cfdisk immediately you are encountering a lot of new problems.
By chickening out at the first problem you have, you give an excellent example of "replacing one known problem with a lot of unknown problems"
Until it is proven that something doesn't work, and will never work, stick with your attempts to solve the problem you have, instead of turning to other ways. You'll never get to the end.
jlinkels
Yeah, I know u are right,
hurts me having to decide to not install slack on this machine,
BUT
I really need a win7 running in this notebook because wine cannot handle canon's dpp, my primary goal. What I wanted was to use dual boot, just like I do on my desktop.
But this notebook came with an original win7 pre-installed without it's dvd for reinstalling. So, if I mess with the partition table, I'm loosing the software.
Also, I'm going to be a long time without internet, so I wanted to get everything working asap. I'm not lazy, but I just don't have the time I need.
Doesn't your dv4-2114pr have a recovery partition from which you can create recovery DVDs? Even if it doesn't, it should be possible to boot the notebook from a USB flash drive and create an image of the hard drive from which you can restore it if the something goes wrong with the slack install. As for transfering some folders, why not put them on a USB flash drive and move the flash drive via sneakernet? Crude, old-fashioned, but workable.
I've just bought an all-new hp pavilon dv4-2114br
and I realized that I can't install slack on it... (cfdisk doesn't run)
Sure you can use Slackware, just download gparted, or partician magic and repartician your hdd.
ok, so all I need is to copy some folders from my slack desktop to my windows netbook.
Why don't you just download Slackware iso and do a fresh install, it will compile against the hardware
that you have and be more stable. That way audio,video & network will all work.
I'm here only to tell u that partitian magic worked like a charm: it's incredible!
(***Slackware***, my ways to begin its install and file share with Win begins at the 6th paragraph below)
Win 7 can create/restore a hard drive's disk image. (not in Win Vista).
To do so, launch the backup/restore app (utility so named).
Then look on the left is "create System Image" (click it). Then opt to put your system image onto dvd disks. It will create the image and burn it directly to dvd disks. At the end it will prompt you to create a "system repair" disk; be sure to that you create this disk. Done.
If hard disk (emergency) fails to boot, you then boot from your or boot your "system repair" disk -- then run the "restore system image" -- all of your above created dvd disks then may be "restored" to the hard disk. (verify this elsewhere, though, before you take my word for it) -- This is your "factory restore" of original software package.
Yes, this is the Win 7 forum, no? :-)
I long ago quit using Partition Magic. In it's place I boot the latest systemrescuecd (free, open source) I then type wizard which starts X and the Xfce4 desktop. I then launch Gparted. I create and format my partitions. I then halt/shutdown. I then boot from the Slackware install and "setup" then addswap then tell it for / and I also tell it for /boot
Done. (except for installing Slackware) -- ie, just continue on with the install. "install all software (recommended)" etc. etc.
Hey there, **yes** the ssh is on by default in Slackware (someone mentioned an ssh to add to to use on/for Win 7) that which would let ssh do the job of xfer between Slack and Win 7
Samba is (well, has been) *it* (for me). Next is a *loose* smb.conf that is ****only good on a known, secure, lan****. It has too many security risks to use it anywhere else. But, oh, it *is* ever so handy on my secure lan. And I don't autostart Samba -- I manually start it only when I want to use it and I stop it when I'm done using it.
BTW it matches how I have my Win Xp, ie WORKGROUP (which may or may not match the default in Win 7
Code:
root@P5Q:/etc/samba# pwd
/etc/samba
root@P5Q:/etc/samba# ls -la
total 28
drwxr-xr-x 3 root root 4096 2009-06-25 20:50 ./
drwxr-xr-x 67 root root 4096 2011-05-03 18:55 ../
drwx------ 2 root root 4096 2009-06-25 20:49 private/
-rw-r----- 1 root root 1562 2009-02-03 21:55 smb.conf
-rw-r--r-- 1 root root 9672 2009-06-25 20:50 smb.conf-sample
root@P5Q:/etc/samba# cat smb.conf
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba,
# read the Samba HOWTO Collection.
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
workgroup = WORKGROUP
cups options = raw
map to guest = Bad User
domain master = no
restrict anonymous = no
preferred master = no
max protocol = NT
server signing = Auto
domain logons = no
local master = yes
passdb backend = smbpasswd
netbios name = P5Q_SW122_SMB
encrypt passwords = yes
[home_al]
path = /home/al
read only = no
force user = root
force group = root
guest account = root
case sensitive = no
guest only = yes
guest ok = yes
browseable = yes
printable =no
# [mnt_dat_sda8]
# path = /mnt/dat_sda8
[mnt_sda_8]
path = /mnt/sda_8
read only = no
force user = root
force group = root
guest account = root
case sensitive = no
guest only = yes
guest ok = yes
browseable = yes
printable =no
fdisk is more powerful than cfdisk and is known to be successful with hard-drives that cfdisk won't even run on.
Window$ from XP onwards includes tools for resizing a partition. Boot into "safe" mode (if possible), defrag your main partition then shrink it. If you can recover as little as 20GB then you can have a full Slackware installation. (You should be able to recover more than 100GB if you haven't filled up your laptop with junk).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.