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.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
1. Is it possible to select the UK keyboard from the installation program? If yes, which option is it?
As said - hit "1" to select a keyboard map. The UK one is right down the bottom of the screens. Hit "End" then "PgUp" twice and it's in the middle named "qwerty/uk.map".
The second question has been covered already. Be sure to read the SlackBook on the install disc(s) to give you a better idea of what's what - I'm assuming you're new to this.
Well thanks for your help. I realized I hadn't run the setup program, which seems to require partitioning before:
1. Partition using fdisk
2. Setup program
3...we'll see
It would be helpful if some step by step guide was available, since I need to get a machine up and running
Anyway, while installing I noted that I could only install up to 3 partitions + 1 extended partition, because fdisk returned an error when trying to set. However I tried again and I successfully set the partitions:
Did not set a separate /boot partition, since I already have one.
I'm not sure how to create the swap partition that is required by the setup program (ADDSWAP). I've been through the menu options etc but nothing seemed to make sense in this regard
Any ideas?
Anyway, while installing I noted that I could only install up to 3 partitions + 1 extended partition, because fdisk returned an error when trying to set. However I tried again and I successfully set the partitions:
Did not set a separate /boot partition, since I already have one.
I'm not sure how to create the swap partition that is required by the setup program (ADDSWAP). I've been through the menu options etc but nothing seemed to make sense in this regard
Any ideas?
Your layout is not correct. If you are setting up '/dev/hda1' as '/' with just 1Mb then that certainly won't be sufficient. Even if it's 1 MB it would be too small for '/'. For '/' on Slackware you will net at least 4-5GB. That's 4-5 Giga Byte not 'bit'. Where's the extended partition? You are allowed 4 primary partitions. If you decide to use a extended then that will leave you 3 primary. I like to make my '4th' primary a extended to keep things clean. (see samples)
Your '/var' is much too small for a working system. A swap of 2Mb is way to small. Maybe 256MB, 512MB, 1024MB or whatever is reasonable for the system. If you need a swap at all.
Code:
sample fdisk;
~# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf5b5f5b5
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 4074 2008125 82 Linux swap
/dev/sda3 4075 10300 50010345 83 Linux
/dev/sda4 10301 60801 405649282+ 5 Extended
/dev/sda5 10301 10425 1004031 83 Linux
/dev/sda6 10426 11671 10008463+ 83 Linux
/dev/sda7 11672 12668 8008371 83 Linux
/dev/sda8 12669 12918 2008093+ 83 Linux
/dev/sda9 12919 13915 8008371 83 Linux
/dev/sda10 13916 15161 10008463+ 83 Linux
/dev/sda11 15162 16407 10008463+ 83 Linux
/dev/sda12 16408 28856 99996561 83 Linux
/dev/sda13 28857 41305 99996561 83 Linux
/dev/sda14 41306 53754 99996561 83 Linux
/dev/sda15 53755 60801 56604996 83 Linux
Disk /dev/sdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb2214719
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 4981 40009851 7 HPFS/NTFS
/dev/sdd2 4982 9962 40009882+ 83 Linux
Code:
sample cfdisk /dev/sda;
cfdisk (util-linux-ng 2.13.1)
Disk Drive: /dev/sda
Size: 500107862016 bytes, 500.1 GB
Heads: 255 Sectors per Track: 63 Cylinders: 60801
Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------
sda1 Boot Primary NTFS [^C] 31453.48
sda2 Primary Linux swap 2056.32
sda3 Primary Linux ext3 [/spare1] 51210.60
sda5 Logical Linux ext3 [/] 1028.16
sda6 Logical Linux ext3 [/home] 10248.70
sda7 Logical Linux ext3 [/usr] 8200.61
sda8 Logical Linux ext3 [/var] 2056.32
sda9 Logical Linux ext3 [/tmp] 8200.61
sda10 Logical Linux ext3 10248.70
sda11 Logical Linux ext3 10248.70
sda12 Logical Linux ext3 102396.52
sda13 Logical Linux ext3 102396.52
Thanks. It's noted that there seems to be an issue when I'm trying to create the swap partition, so I skipped that one for the time being.
The problem seems to be that although I allocated the following using fdisk, when I ran the command using parted, an error message was displayed that indicated that the starting partition was not the same as that I had allocated, and, it seemed strange because then I checked the partition table again using fdisk. Seems like some sort of bounds error to me.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
Thanks. It's noted that there seems to be an issue when I'm trying to create the swap partition, so I skipped that one for the time being.
I wouldn't do that. Try using cfdisk for your partitioning - I find it much more useful than fdisk or parted. You only need to create the partition for the swap at first as the installer should make the swap disk itself by detecting the swap space.
Thanks, well I can try that out later. I've noted that after watching an 8 hour installation as a virtual machine within VirtualBox 2.2.2, and, having reset the machine, the OS simply does not boot up.
I wouldn't do that. Try using cfdisk for your partitioning - I find it much more useful than fdisk or parted. You only need to create the partition for the swap at first as the installer should make the swap disk itself by detecting the swap space.
I agree. I use cfdisk. Its much easier and a little more user friendly than fdisk. You can get away with simply 2 partitions.
swap and /
If you want you can break things out like /home /var /usr /tmp into their own partitions, this is useful if you are concerned about a logfile or user filling up a partition (i.e. /) and essentially bringing you machine to its knees. For home use though simply using a swap partition and a / partition works just fine.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
Anyone encountered this issue? Any ideas??
It looks like lilo has not installed for some reason. You may test this by setting the VM to boot from the install disk (or image) and following the instructions for booting an existing Slackware installation - i.e.
Code:
at the boot: prompt type -
hugesmp.s root=/dev/hda2 rdinit= ro
You will have to change /dev/hda2 to the partition where you installed Slackware - possibly /dev/sda2 if you have picked a SATA disk controller or /dev/hda1 for the first partition etc.
If this works you will be in your Slackware install. As root run:
Code:
liloconfig
to re install lilo. I find "expert" mode more reliable but you will have to fill in some things. Booting should then work.
All this assumes the actual install has worked - if not you may well have to start over !
I'm not sure about it, but in this picture http://cid-b712073b3513eb8e.skydrive...ackware|_1.png
all id's are 83, shouldn't it be 82 for swap partition?
Or it can be 83 if you chose it later in setup as swap partition?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.