Read Create Slackware USB Installation from Windows to prepare one.
The media name of Slackware USB stick in this instruction should be USBSLACKINS.
All data from HDD will be deleted, so if you do this, then you will cry in your pillow lately.
Let's begin.
Booting from USB..
Slackware welcome screen appears.
If you have old computer then write
huge.s and press enter.If you have pretty new computer then just press enter.
"Enter 1 to select keyboard map:"
Just hit enter.
"slackware login:"
Enter
root and press enter.First you need make at least one linux partition (id: 83 in fdisk)
and linux swap partition (id: 82 in fdisk).
Run fdisk:
fdisk /dev/sdaPress
d and combine it with number 1, 2, 3 or 4. Then press it again and combine it again. And again until "No partitions is defined yet!" show up.Create first partition - linux:
Press
n, select it as primary by hitting enter."Partition number (1-4, default 1):"
Hit enter for default.
"First sector (2048-78140159, default 2048):"
Hit enter for default.
"Last sector, +sectors or +size{K,M,G} {2048-78140159, default 78140159):"
Enter
+10G and press enter.Press
t, then 1, then 83 to set first partition as linux partitionMake second partition - linux swap: Press
n, select it as primary by hitting enter."Partition number (1-4, default 2):"
Hit enter for default.
"First sector (20973568-78140159, default 20973568):"
Hit enter for default.
"Last sector, +sectors or +size{K,M,G} {20973568-78140159, default 78140159):"
Enter
+2G and press enter.Press
t, then 2, then 82 to set first partition as linux partitionActivate first partition:
Press
a, then 1 and enter.Finally press
w to commit all this operations.Make USB mount point with
mkdir /usbinstallMount media:
mount -t vfat -o ro,shortname=mixed $(/sbin/blkid -t LABEL=USBSLACKINS | cut -f1 -d:) /usbinstall
Type
setup and hit enter.Select
ADDSWAP. Press Enter. Press Enter again to commit second partition as linux swap partition."Select linux installation partitions":
Press enter for
/dev/sda1.Format it as
ext4.
"SOURCE MEDIA SELECTION"
Select "Install from a pre-mounted directory"
Type
/usbinstall/slackware for 32-bit slackware source ortype
/usbinstall/slackware64 for 64-bit slackware source.I don't know why this happens, but after installation i need to boot my hdd via usb with
huge.s /dev/sda1 rdinit= ro then login root and install again lilo boot manager. After that, now i am able to boot from HDD :)
No comments:
Post a Comment