[WORKED AROUND] Installing Arch Linux with 3.11 kernel on Vaio Pro 13
Yesterday I received my Sony Vaio Pro 13.
The WLAN card is only supported since kernel 3.11, which has been released by Linus several days ago.
The laptop has no ethernet port, ideally I'd thus use the WLAN abilities using installation.
Since there is no Arch ISO available with 3.11 yet, I was hoping to create my own, using the arch wiki guide on remastering the ISO: https://wiki.archlinux.org/index.php/Re … nstall_ISO
I was wondering whether, instead of compiling my own kernel, I could just chroot into the unpacked ISO filesystem and install the 3.11 kernel from the testing repository using pacman.
Which, as far as I could tell, was the released kernel, and not an earlier RC. Is this possible?
One other question remains: the author of this blog mentions a diff that is needed to prevent the CPU freq to be stuck at 800Mhz (http://elouisyoung.blogspot.se/2013/07/ … -with.html).
Does anyone know whether this made it to the mainline?
# UPDATE
I explored the latest kernel release and found out that the patch is not yet included in the mainline.
So I'll have to compile my own kernel. There are however still issues with the CPU freq scaling (won't scale lower than 1.6Ghz). Nasty...
# UPDATE 2
Booting + installing mainline ISO, installed testing/linux for wifi, compiled own kernel + installed besides the testing/linux kernel worked fine for me.
Last edited by A.J.Rouvoet (2013-09-08 17:21:05)
Yesterday I received my Sony Vaio Pro 13.
The WLAN card is only supported since kernel 3.11, which has been released by Linus several days ago.
The laptop has no ethernet port, ideally I'd thus use the WLAN abilities using installation.
Since there is no Arch ISO available with 3.11 yet, I was hoping to create my own, using the arch wiki guide on remastering the ISO: https://wiki.archlinux.org/index.php/Re … nstall_ISO
I was wondering whether, instead of compiling my own kernel, I could just chroot into the unpacked ISO filesystem and install the 3.11 kernel from the testing repository using pacman.
Which, as far as I could tell, was the released kernel, and not an earlier RC. Is this possible?
One other question remains: the author of this blog mentions a diff that is needed to prevent the CPU freq to be stuck at 800Mhz (http://elouisyoung.blogspot.se/2013/07/ … -with.html).
Does anyone know whether this made it to the mainline?
# UPDATE
I explored the latest kernel release and found out that the patch is not yet included in the mainline.
So I'll have to compile my own kernel. There are however still issues with the CPU freq scaling (won't scale lower than 1.6Ghz). Nasty...
# UPDATE 2
Booting + installing mainline ISO, installed testing/linux for wifi, compiled own kernel + installed besides the testing/linux kernel worked fine for me.
Last edited by A.J.Rouvoet (2013-09-08 17:21:05)
Similar Messages
-
Install Arch Linux with UEFI and GPT
Hi, I purchased a new laptop and I created a partition with Windows 8 (default OS on laptop) and another partition where I want to install Arch Linux.
When I tried to install Arch Linux not boot from CD. After searching in Google I downloaded the latest Arch Linux ISO (2012-12-01) and tried again.
This time CD started without problems but when I used cfdisk showed an error with GPT partition. I went back to search in Google and I read about gdisk and gfdisk and I try it but when I partitioning to install Arch Linux partition show that may cause damage. I searched and searched without success and I wonder if there is a Arch Linux GPT install guide or if someone knows how to install Arch Linux with GPT and a Windows 8 partition in UEFI.
Thanks and regards.Hi again, finally I got "install" Arch Linux but when I reboot the follow message appears:
"No Booteable Device, Hit any key."
I don't know if I broke Windows Boot Manager, UEFI or both...
I tried to reinstall GRUB but was unsuccessful.
Can anyone help me?
Thanks and regards. -
Keyboard and mouse not working when installing arch linux 2014.01.05
trying to install arch linux 2014.01.05 dual iso but when I boot the live cd my keyboard and mouse (both wired) arent detected.
please helpI am from australia > melbourne victoria and usually type in english us or english australian (which keymap do I use in the arch linux install process?) arch linux still does not detect my kb and mouse when on desktop (usb keyboard)...stumped.
Last edited by yoshiserry (2014-01-27 07:44:05) -
Have Installed Arch Linux and Xmonad on 2013 15" MacBook Pro Retina
I just recieved the latest stunning MacBook Pro Retina 15" (ME665) released in Feb 2013, couldn't wait to install the Arch Linux 2013.02.01 on it, dual boot with Mac OSX.
I'm impressed by the performance of this device after working with the combo of Arch Linux and Xmonad for several days, everything works out of the box, including touchpad, audio, video, wireless network, bluetooth, etc. Even the apperance of most apps are compatible with the high resolution of Retina display.
Another important thing is the battery life, 5 hours! Program and compile, listen music, download AOSP through Wi-Fi, watch YouTube videos with Flash hardware accelaration on.
For the installtion details, see my long blog post at http://vec.io/posts/use-arch-linux-and- … na-display
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Last edited by vecio (2013-02-28 02:22:38)Can you tell me what your /sys/class/backlight/gmux_backlight/brightness and max_brightness values are? This has not worked out of the box for me.
-
A VERY Easy Tutorial on doing a clean install of Arch Linux with Gnome
is there anyone who could help me test Arch Linux with Gnome DE?
The pacman bit is new, and has already been solved: [SOLVED] pacman update fails: gcc requires gcc-libs=4.7.0-3
Just press "N" and you'll see that pacman will be on the list.
Welcome to the forums.
Edit:
Shahe1993 wrote:is there anyone who cou...
Oh. Feeling a bit busy there, huh? Nevermind.
Last edited by DSpider (2012-04-12 17:28:18) -
[HOWTO] Installing Arch Linux stable release on Acer Aspire One 522
[This is a work on progress and my first howto ever]
These steps will teach you how to install ArchLinux x64 stable release (currently 2010.05) on Acer Aspire One 522 from an existing ArchLinux (your desktop computer)
As you need a 2.6.37+ kernel to make networking work on the AO522, installing stable release as is won't work.
This Howto borns with the intention to address this problem.
You need to be familiarized with Linux internals to follow this howto.
(Expect this howto to become useless with new stable releases of ArchLinux.)
Remember to make a backup of your Windows 7 Starter system before installing ArchLinux.
I did a full raw copy of the harddisk by using systemrescuecd, an external harddisk and dd utility:
Just boot with systemrescuecd
Mount your external harddisk on /mnt/floppy for example
Clone harddisk with: dd if=/dev/sda |gzip -c > /mnt/floppy/ao522.img
This process took me a lot of time since my external harddisk is USB-1 (almost an entire evening)
Result image was about 22GB size
This image will restore partition table, boot sector and all data if things go wrong.
I followed some of the steps from this guide: https://wiki.archlinux.org/index.php/In … ting_Linux
If you have some Gentoo Linux experience you will find those steps really familiar.
You will need 2 USB pendrives or similar storage options.
One is needed to boot into your netbook, and the other to store our custom archlinux build.
Making an updated ArchLinux system
1) Make a local dir on your existing linux system
# mkdir ./newarch
2) Install pacman database on it
# pacman -Sy -r ./newarch
3) Install base system
# pacman -S base -r ./newarch
4) Let's chroot inside
# cp /etc/resolv.conf ./newarch/etc/
# cp /etc/pacman.d/mirrorlist ./newarch/etc/pacman.d
# mount -t proc proc ./newarch/proc
# mount -t sysfs sys ./newarch/sys
# mount -o bind /dev ./newarch/dev
# chroot ./newarch /bin/bash
5) Edit configuration files
# nano -w /etc/rc.conf
# nano -w /etc/hosts
# nano -w /etc/mkinitcpio.conf
Forget /etc/fstab for now since you don't know what partitions to use yet
6) Generate kernel image
# mkinitcpio -p kernel26
7) Generate locales
# nano -w /etc/locale.gen
# locale-gen
8) Make a tarball with our custom ArchLinux
# exit
# umount ./newarch/proc
# umount ./newarch/dev
# umount ./newarch/sys
# tar -cvpf newarch.tar ./newarch
9) Copy this tarball to an USB pendrive or external harddisk
10) Boot your netbook with a Linux bootable USB stick (I used systemrescuecd, and remember to pick the x64 bit kernel at grub screen)
You can use any linux distribution with usb bootable options. I suppose ArchLinux works too
To install SystemRescueCD on an USB stick follow this tutorial -> SystemRescueCD on usb stick
Insert the usb stick on your netbook, switch on, hit F2 to enter BIOS menu, and choose to boot from USB as first option. Save and Exit.
You should be booting into SystemRescueCD without any problem.
After initialization you will end in a root prompt.
11) Let's partition the disk
You will find 3 partitions if this is your first time:
/dev/sda1 2048 29362175 14680064 27 Hidden NTFS WinRE
/dev/sda2 * 29362176 29566975 102400 7 HPFS/NTFS/exFAT
/dev/sda3 29566976 488397167 229312696 7 HPFS/NTFS/exFAT
My recomendation is to leave sda1 and sda2 intact, as they have the recovery information to restore Windows 7 Starter
You have plenty of space with sda3, about 230G.
So run fdisk/cfdisk and delete /dev/sda3
Now create a 100M partition for boot
Now create a Extended partition with all the space left
Now create a 1GB logical partition for swap
Now create a 10-15 GB logical partition for root system
And finally a logical partition for our home partition with all space left
Your partition table should look like this:
/dev/sda1 2048 29362175 14680064 27 Hidden NTFS WinRE
/dev/sda2 * 29362176 29566975 102400 7 HPFS/NTFS/exFAT
/dev/sda3 29566976 29771775 102400 83 Linux
/dev/sda4 29771776 488397167 229312696 5 Extended
/dev/sda5 29773824 31821823 1024000 83 Linux
/dev/sda6 31823872 63281151 15728640 83 Linux
/dev/sda7 63283200 488397167 212556984 83 Linux
12) Create filesystems
I choosed ext2 for boot, and reiserfs for root and home partitions.
# mke2fs /dev/sda3
# mkreiserfs /dev/sda6
# mkreiserfs /dev/sda7
# mkswap /dev/sda5
13) Mount partitions
# mkdir arch
# mount /dev/sda6 arch
# mkdir arch/boot
# mount /dev/sda3 arch/boot
# mkdir arch/home
# mount /dev/sda7 arch/home
14) Copy our custom ArchLinux build on it
# mount /dev/sdb1 /mnt/floppy (for example)
# cd arch
# tar -xvpf /mnt/flopy/newarch.tar
15) Configure /etc/fstab
Mine is as follows:
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
/dev/sda3 /boot ext2 defaults 0 1
/dev/sda6 / reiserfs defaults 0 1
/dev/sda7 /home reiserfs defaults 0 1
/dev/sda5 swap swap defaults 0 0
16) Chroot in your new system
# mount -t proc proc ./proc
# mount -t sysfs sys ./sys
# mount -o bind /dev ./dev
# chroot ./ /bin/bash
17) Install grub
# grub-install
Edit /boot/grub/menu.lst to suit your needs
Mine looks like this:
timeout 5
default 0
color light-blue/black light-cyan/blue
title Arch Linux
root (hd0,2)
kernel /vmlinuz26 root=/dev/sda6 ro
initrd /kernel26.img
title Arch Linux Fallback
root (hd0,2)
kernel /vmlinuz26 root=/dev/sda6 ro
initrd /kernel26-fallback.img
title Windows 7 Recovery
rootnoverify (hd0,0)
makeactive
chainloader +1
As you see, you can restore Windows 7 Starter from Grub.
18) Change root password
# passwd
19) Add a regular user account
# useradd -G video,audio,users -m username
# passwd username
20) You're done!
# exit
# cd ..
# umount ./arch/proc
# umount ./arch/dev
# umount ./arch/sys
# umount ./arch/boot
# umount ./arch/
# reboot
Remove the usb stick from your netbook.
If all went ok, you will be inside your new stable and updated ArchLinux system
Next post is reserved for software configurations specific to the Acer Aspire One 522
Last edited by tigrezno (2011-04-20 12:22:38)Using acpid to achieve the following:
- Change screen brightness when operating in battery mode
- Power off when the power button is pressed
- Suspend when the lid is down
- Reduce CPU frequency speed to maximize battery usage
Remember that system suspend is only supported by ati free driver xf86-video-ati
1) Install acpid daemon and cpufrequtils
# pacman -S apcid cpufrequtils
2) edit acpid handler script
# nano -w /etc/acpi/handler.sh
Change the following section:
ac_adapter)
case "$2" in
AC)
case "$4" in
00000000)
echo -n $minspeed >$setspeed
#/etc/laptop-mode/laptop-mode start
00000001)
echo -n $maxspeed >$setspeed
#/etc/laptop-mode/laptop-mode stop
esac
*) logger "ACPI action undefined: $2" ;;
esac
for:
ac_adapter)
case "$2" in
ACAD)
case "$4" in
00000000)
echo 3 > /sys/devices/virtual/backlight/acpi_video0/brightness
cpufreq-set -c 0 -f 800Mhz
cpufreq-set -c 1 -f 800Mhz
00000001)
echo 9 > /sys/devices/virtual/backlight/acpi_video0/brightness
cpufreq-set -c 0 -f 1000Mhz
cpufreq-set -c 1 -f 1000Mhz
esac
*) logger "ACPI action undefined: $2" ;;
esac
Make sure you changed AC) for ACAD)
Now change this other section:
button/power)
#echo "PowerButton pressed!">/dev/tty5
case "$2" in
PWRF) logger "PowerButton pressed: $2" ;;
*) logger "ACPI action undefined: $2" ;;
esac
with:
button/power)
#echo "PowerButton pressed!">/dev/tty5
case "$2" in
PWRF) poweroff ;;
*) logger "ACPI action undefined: $2" ;;
esac
Change:
button/lid)
#echo "LID switched!">/dev/tty5
logger "ACPI group/action undefined: $1 / $2"
for:
button/lid)
pm-suspend && /etc/rc.d/network restart
logger "ACPI group/action undefined: $1 / $2"
Network restart is used because wlan0 will disconnect from AP after some time. You can try using iwconfig wlan0 essid <ap> key <key> instead of the network script, but haven't tested it myself.
3) Start acpid and load modules
# modprobe powernow-k8
# /etc/rc.d/acpid start
Add "acpid" to DAEMONS in /etc/rc.conf to start on boot
Add "powernow-k8" to the modules sections on /etc/rc.conf to load at boot
Stopping system freezes due to ethernet driver
The only way people have found to avoid freezes is by blacklisting atheros kernel drivers.
To do it at boot just edit /etc/rc.conf and change the MODULES line as this:
MODULES=(!ath9k !atl1c)
Reboot and you're done, but remember to not press the Wifi key, because it can freeze your system.
Correctly starting wireless at boot
I've found that standard scripts wont load properly my wireless lan. It gave an error telling you to use the WIRELESS_TIMEOUT variable and such.
To solve this, edit /etc/rc.d/network script and change the wi_up function by adding a second iwconfig command like this:
wi_up()
eval iwcfg="\$wlan_${1}"
[[ ! $iwcfg ]] && return 0
/usr/sbin/iwconfig $iwcfg
[[ $WIRELESS_TIMEOUT ]] || WIRELESS_TIMEOUT=2
sleep $WIRELESS_TIMEOUT
/usr/sbin/iwconfig $iwcfg
bssid=$(iwgetid $1 -ra)
It will do the trick and will start at boot correctly. This is not a solution but a fix.
Adjust Touchpad to disable false taps
What I did here is defining an area to be ignored. This area are 3 rectangles on top, left and right of the touchpad.
This means you can write and press space without having the cursor click out of the window and such.
# synclient AreaLeftEdge=150
# synclient AreaRightEdge=1300
# synclient AreaTopEdge=300
Also, add it to your /etc/X11/xorg.conf.d/10-evdev.conf:
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "AreaTopEdge" "300"
Option "AreaLeftEdge" "150"
Option "AreaRightEdge" "1300"
EndSection
You can play with those values. They just work for me.
Last edited by tigrezno (2011-04-23 13:49:48) -
Dual booting Windows 8 and Arch Linux with UEFI
Hi all!
I'm trying to install Arch Linux on my computer where I already have Windows 8, and I'm getting a little stuck when it comes to the partitioning.
Following the beginner's guide and the method here: https://wiki.archlinux.org/index.php/Un … n_in_Linux for setting up the partitions properly, regarding UEFI. My problem is that when using cgdisk to set up a new EFI system partition (ef00), I get an error message when trying to write the partition table (just saying that something went wrong). I figure the problem is that I already have a partition like this (correct me if I'm wrong), but it really looks like it succeded (see info below). So my question is: How do I preceed to keep my Windows 8 installation happy, but installing Arch? Do I remove the old EFI system partition and create a new one, or is there some method that allows me to edit the already existing one, to allow me to dual boot Windows 8 and Arch?
My partition table now looks like this:
Part. # Size Partition Type Partition Name
1007KB free space
1 500MB Windows RE Basic data partition
2 300MB EFI System EFI system partition (this one was already present on my system)
3 128MB Microsoft reserved Microsoft reserved partition
4 63.5GB Microsoft basic data Basic data partition
8 512MB EFI System EFI System partition (this is the one I tried to create when I got the error message)
5 29.5GB Linux filesystem Arch (this is where I was going to put my Arch installation)
6 22GB Windows RE Basic data partition
7 1024MB Windows RE Basic data partition
615KB free space
Just for the record; I only created partition #8 and #5.
Any help is appreciated! And sorry for beeing a total noob, but I really suck at this.sudo make sandwich wrote:If it is possible to share ESP between OSes, how do I do this (would it be sufficent to follow this section: https://wiki.archlinux.org/index.php/Beginners'_Guide#For_UEFI_motherboards)?
There's really very little to do to share an ESP between OSes. Most OS installers will auto-detect the ESP and use it. Problem solved. For Arch it may be a bit more effort just because Arch uses a more hands-on installation process, but I've only done a couple of Arch installations, and the last one was several months ago, so I don't recall the details clearly enough to comment.
And how big will the partition need to be? The beginner's guide says 512MB or higher.
I don't know what was in the mind of the author, but my guess is that's because that's roughly the cutoff point where mkdosfs starts creating FAT32 by default rather than FAT16. The ESP is officially supposed to be FAT32, not FAT16, although FAT16 usually works OK. It's also possible to create FAT32 on smaller partitions by using an explicit option to mkdosfs ("-F 32").
The optimal size of the ESP depends on the files stored on it. If you don't store your Linux kernels, something as small as 100MiB is usually adequate; but a few Linux kernels and their initrd files can consume twice that amount. My own recommendation is for the ESP to be 200-500MiB.
The only error message I got from cgdisk is "Problem saving data! Your partition table may be damaged!", however booting Windows again works fine. Parted did not complain about antything.
Use the "verify" function in cgdisk. That will reveal any problems with the data structures. If a verify turns up OK, then that means that cgdisk ran into some sort of disk problem. Running gdisk rather than cgdisk and using the gdisk "w" option (without making any changes) may produce a more helpful error message. -
Recovering earlier installed Windows 7 after installing Arch Linux
I'm trying to boot windows on my ASUS notebook.
There was windows 7 from the very beginning (disks C:\ and D:\), then I divided disk D:\ on several partitions and installed Arch Linux. I overwrited Windows boot information by boot part of Linux. Now I want to recover windows, that I still have on hard drive. It doesn's matter what there will be: dualboot or only windows (but dualboot is prefered).
Disk info:
[jhon@fckrsns ~]$ sudo fdisk -l
Disk /dev/sda: 698.7 GiB, 750156374016 bytes, 1465149168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 1AFC9DFF-CD3B-4CE1-8CAF-41C3E5B75772
Device Start End Size Type
/dev/sda1 2048 411647 200M EFI System
/dev/sda2 411648 673791 128M Microsoft reserved
/dev/sda3 673792 586731519 279.5G Microsoft basic data
/dev/sda4 586731520 691589119 50G Linux filesystem
/dev/sda5 1412718592 1465147391 25G Windows recovery environment
/dev/sda6 691589120 901304319 100G Linux filesystem
/dev/sda7 901304320 1412718591 243.9G Microsoft basic data
[jhon@fckrsns ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 698.7G 0 disk
├─sda1 8:1 0 200M 0 part /boot
├─sda2 8:2 0 128M 0 part
├─sda3 8:3 0 279.5G 0 part
├─sda4 8:4 0 50G 0 part /
├─sda5 8:5 0 25G 0 part
├─sda6 8:6 0 100G 0 part /home
└─sda7 8:7 0 243.9G 0 part
sr0 11:0 1 1024M 0 rom
[jhon@fckrsns ~]$ lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 vfat 4DEB-D6D2 /boot
├─sda2
├─sda3 ntfs OS 62364BE9364BBCB3
├─sda4 ext4 c4da4683-871a-49fa-96a3-4da11387d31d /
├─sda5 ntfs Recovery 8ECE4F50CE4F2FAF
├─sda6 ext4 3eba01c6-e422-4542-8442-16064c74a563 /home
└─sda7 ntfs 3B29E7794F6CD932
sr0
OS partition (/dev/sda3):
[jhon@fckrsns /]$ ls /run/media/jhon/OS
altera Boot djvureader DrWeb Quarantine eSupport hiberfil.sys MSOCache N56VM.BIN pagefile.sys Program Files Recovery SecurityScanner.dll VisualCLibs
AsusVibeData bootmgr Documents and Settings eclipse Games Intel MS.Office.2007.Portable.micro.v.1.16 N56VZ.BIN PerfLogs Program Files (x86) $Recycle.Bin System Volume Information Windows
AVScanner.ini BOOTSECT.BAK DOSBox_SIM END gcc Keil_v5 mtd NVIDIA ProgramData Qt R.G. Catalyst Users
I tried to recover MBR with different ways:
with syslinux:
[jhon@fckrsns /]$ sudo dd if=/usr/lib/syslinux/bios/mbr.bin of=/dev/sda
0+1 records in
0+1 records out
440 bytes (440 B) copied, 0.0226394 s, 19.4 kB/s
with ms-sys:
[jhon@fckrsns /]$ sudo ms-sys --partition /dev/sda1
Start sector 2048 (nr of hidden sectors) successfully written to /dev/sda1
Physical disk drive id 0x80 (C:) successfully written to /dev/sda1
Number of heads (255) successfully written to /dev/sda1
[jhon@fckrsns /]$ sudo ms-sys --mbr7 /dev/sda
Windows 7 master boot record successfully written to /dev/sda
But there is still no way to boot windows.
I run grub-mkconfig before and after these manipulations with MBR:
[jhon@fckrsns ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
No volume groups found
done
[jhon@fckrsns /]$ sudo os-prober
/dev/cdrom: open failed: No medium found
No volume groups found
I installed rEFInd, now I have two choices on boot screen: vmlinuz-linux, which it founded, and my earlier installed grub bootloader.
Maybe I missed something, but i don't know what exactly.
Last edited by Jhon (2014-09-28 16:45:38)Now I know that I don't need MBR at all (but google told me that recovering windows = recovering MBR..)
Are there any ways to recover boot information on EFI system partition from Linux without using Windows Live CD and it's bootrec.exe?
I have bootmgr and bootmgfw.efi files on /dev/sda3 (partition with windows installed), what else I need? Simple copy of bootmgfw.efi to /boot/EFI/Microsoft/Boot/bootmgfw.efi and addition of custom menu item to /etc/grub.d/40_custom does'nt work. There is Windows now in rEFInd and GRUB menus, but there is error on loading. -
Archwiz Script for installing Arch Linux
I created a new Bash Script Project called Archwiz, located on github flesh/archwiz ,
its still in Beta for a few reasons, I never figured out how to get computer translations working in the script so I can Localize it, and I never figured out all the details to get an AUR custom repo working and lastly I didn't get the Asynchronous downloads to work right, so there are all disabled in this script.
This script was a fork of another script found here Archlinux Ultimate Install Script.
The Script itself has several files, the wizard.sh is a library, that allow programmers to use this library as an API for writing scripts, so its usefully to anyone that wants an API to write Bash Scripts, but the script itself scripts a script that is saved as configuration files, then executes the script inside itself, so you can look at all the configuration files before running it.
The script was written for use by anyone, but mostly targets programmers like myself who need to setup a machine to use as a work station and want it set up a certain way every time, although this script is far from finished, I have a lot of tweaking to do to it before it would be completely there, but as it is, I can get up and running on a machine with little effort, so this make it ideal for a Linux Administrator who has to install thousands of OS's and have them configured all the same way, but works great for someone just wanting to install Arch Linux.
The Project is Self Documenting and Self Localizing, although currently only English works, but the po files are there, so it would be easy enough if you wanted to localize it; but the computer translation function I started would be the correct way to do this.
The scripts makes use of a custom repo, so remove it when finished, the script should do this for you, but just to let you know, it downloads the core to the flash drive, this way it can install very fast, once you install it one, it has all the files on it to install on another computer without an Internet connection, well at least that was my thinking, I never did get the AUR custom repo to work, but the idea is to have all the files on the flash so you do not need to use up bandwidth installing Arch Linux on a new machine, just install it, then run pacman updates.
The Idea of a Wizard is to make the life of those installing an OS, much easier, they have the Option to do a Custom install, or a Wizard install, even an Automatic install to pre-configure machines.
The script determines if you have UEFI Bios or not, and formats and configures the Hard Drive correctly, and gives you full control over the partitioning of the drive, within the bounds of the tools used, so its very flexible, it uses systemd, so boot time on my machine is 10 seconds flat, and that's because I mount a lot of network drives and map them at boot time, I got 2 seconds boot time with mounting, so the packages are not perfect, but they do work.
I only tested GDM, since I installed every Desktop Manager and configuration for my needs, this was the only one I got to work for all of them, but I normally use KDE or Mate, but I ran into issues with Mate and went back to KDE, so I could get back to work.
This script was designed to Format the Drive you install it to, so do not use this on a Partitioned Drive, it will format the hard drive, so you are warned once more during the install, but this could be fixed, I had to abandon the project to finish another, so the script is as it is, but could give someone a great start if they want to folk it and finish it, so fork me.
See the help.html for details.
Last edited by Flesh (2013-02-28 00:31:54)Moving to Community Contributions...
-
Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle
Hello all,
I have just installed Arch Linux on my desktop and need a way to either connect it to my LAN which is sharing the dongle connection from my laptop running ubuntu 10.04 via, ICS, DHCP3 and FIrestarter, Or simply plug in the dongle to my Arch Desktop. I have been researching commands to connect to networks with all day and have had no luck. My internet connection is being shared over ethernet through a DSL-2640R router.
I need this connection so i can install the GUI and make it fully functional. So if anyone has any ideas, guides or sites that may help me with this problem then please share.
Thank you,
SlashWannabe94Hello, I bought a Huawei E1750, too. Today I got it working.
The most important things I got from here.
However, my stick differs a bit from yours as it has product ID 1436.
There was no need for an udev-rule, I wouldn't even know where to put it in etc (there is no udev/rules.d folder in arch?).
You need "usb_modeswitch" and the "option" module. At first I wrote an usb_modeswitch configuration, but it seems not necessary as commenting it out had no influence. The option module is loaded for me if i plug the stick in, no need to care about it further. So, except for installing usb_modeswitch everything works out of the box.
If dmesg tells you something like:
[33750.443606] cdc_ether 2-1.5:1.1: wwan0: register 'cdc_ether' at usb-0000:00:1d.0-1.5, Mobile Broadband Network Device, 02:50:f3:00:00:00
[33750.443756] usbcore: registered new interface driver cdc_ether
[33750.455202] USB Serial support registered for GSM modem (1-port)
[33750.455286] option 2-1.5:1.0: GSM modem (1-port) converter detected
[33750.455665] usb 2-1.5: GSM modem (1-port) converter now attached to ttyUSB0
[33750.455692] option 2-1.5:1.3: GSM modem (1-port) converter detected
[33750.455823] usb 2-1.5: GSM modem (1-port) converter now attached to ttyUSB1
[33750.455839] option 2-1.5:1.4: GSM modem (1-port) converter detected
[33750.455967] usb 2-1.5: GSM modem (1-port) converter now attached to ttyUSB2
that should be the case for you, too. This means modeswitch did its job and you are ready to connect.
Now you have to tell your pin to the stick and connect. I'm doing this using "wvdial" and "pppd".
You'll need the "ppp_generic" module to proceed.
My /etc/wvdial.conf looks like this:
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
[Dialer pin]
Init1 = AT+CPIN=1234
[Dialer provider]
Phone = *99#
Username = fonic
Password = fonic
Stupid Mode = 1
Dial Command = ATDT
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","pinternet.interkom.de"
Adopting the pin and the connection address should do. Then you can start your internet by typing:
wvdial pin
wvdial provider
I have to admit wvdial did not work at first(the device refused the AT commands). From frustration I started windows to see if it works there, it did, and the next day this whole configuration simply worked.
Success!
Last edited by stuffel (2011-07-20 22:36:12) -
Can I install Arch Linux without Internet connection ?
It sounds noobish but my friends like to know if they can install Arch Linux without Internet connection ?
mcmillan wrote:
The core iso should be all you need, just boot off that to start the installation. It's been a while since I did an install, but somewhere along the way it gives you an option to install off the cd or do a net install. You just need to choose the cd installation.
That being said, all you'll have without internet will be what's on the cd, so you'll be left with a pretty minimal install. If you want to update and install additional software then you'll either need to get the computer temporarily connected, or download the packages on a different computer and transfer them.
I am looking to do something similar. I have the core system installed on an older laptop, but I cannot get the wireless working (it has no ethernet). I've tried downloading the libgl packagesfrom a mirror to a thumbdrive, but it's a dependency nightmare. Is there a better way to do this? -
Installing Arch Linux after Windows 7 64bit dual boot
Total noob here ^^
Im trying to install Arch Linux after my installation of Windows 7, without fucking up that one...
I freed up 50GB and removed it from my Windows boot partition, so Arch can be installed there, I have almost absolutely no experience with this kind of stuff since I've only used Ubuntu and Kali Linux before.
I've got a working arch image on my usb stick and i somehow can't figure out, how to install it without touching the existing partitions.
Is it possible to create a working dual boot, without changing my windows configuration?yes its possible. What research have you done in order to install Arch. We do not hand hold here in this community. Go read up the appropriate wiki pages and ask specific questions with details in case you get stuck.
Start with the Beginners Guide. -
[SOLVED] Install Arch Linux on USB Stick!
So, here is the deal. I want to install Arch Linux on a USB Stick so I can plug it at any computer and have my system... with me
I've had a little bit experience with Arch so I know a few things about it... used it for a few months before on a real system.
My USB stick is a HighSpeed 17-20 MBPS and it's 16 GB capacity.
So how do I do it?
Last edited by 1lj4z1 (2012-04-05 07:25:53)I'm using occasionally Arch installed on HDD-USB, I've just added usb hook to mkinitcpio.conf and removed autodetect (more modules=more hardware supported). So far it worked on 3 different computers (all of them have one main HDD so no grub issues, but it's no biggie if it doesn't boot right away, you can always edit grub on-the-fly by pressing "e")
About USB stick: installing on USB stick is not the same as running it in LIVE mode! Consider yourself warned.
If you just install it you really should read about SSD optimizations because USB flash cells also have limited read/write cycles (actually is less robust and sophisticated than SSD). Something to look at: noatime mount option, disable swap if not necessary, profile-sync-daemon and so on...
1lj4z1 wrote:Well I don't need to chroot, i am running it live. I'll see about mkinitcpio.conf but I can't understand what you mean rebuilding initramfs? What is that exactcly?
It means if you fiddle with mkinitcpio you should run:
# mkinitcpio -p linux
afterwards or bad things will happen
Last edited by masteryod (2012-03-27 15:37:13) -
Is it suitable install Arch Linux on a USB key?
I want to install Arch Linux on a USB key following the wiki https://wiki.archlinux.org/index.php/In … _a_USB_key
But I now heard that Arch Linux will be very very slow than LiveUSB because of USB's bad I/O speed. Is it real?
Forgive my poor English, thank you!Actually I spent some times to study USB, and I concluded out that it is relate with USB's performance, as example, USB 3.0 is better than USB 2.0, SLC is better than MLC.
So the better performance of USB the more suitable to install Arch Linux. However, it will costs me much money to buy expensive USB:)
@Mr Green What's your blog? Is this http://archbang.org/? -
Failure to install Arch Linux via netinstall AIF; PGP key issues
Hello,
I'm am attempting a fresh install Arch Linux on a clean machine: Dell 1420, 4GB RAM. I am using the archlinux-2012.02.09_04-00-01-netinstall-dual.iso installer.
Installation progresses nicely through the package selection (I choose core, core-dev, xfce, and xorg packages only, to keep it simple for now). The packages download quickly, and then the installation fails during installation indicating that none of the PGP keys are known for any of the downloaded files. The process essentially aborts and I press 'Continue' returning me to the main menu. I have repeated this process several times.
What needs to be done to install Arch Linux?
Thanks.Hi,
Thanks, I have been through the Beginners Guide. I just want to get Arch Linux to "start" with a very basic GUI. during one of my installation iterations I did install only 'core' files, but the same failure occurred. so I'm at a loss as to how to get even a basic installation to take hold. Thoughts on the pgp key issues?
Thanks.
Update: I've switched to using the default net installer (2011.08.19) and the installation succeeded!
Last edited by zaleksf (2012-02-12 05:12:32)
Maybe you are looking for
-
Airport express was blinking yellow. Tried to update, but my computer said update is not supported (yellow exclamation points). I have a mac pro with Lion and latest updates. So I reset express, yes that was a mistake because it was at least function
-
Resizing a RAW Smart Object in a PSD
So I Have a PSD file with one pixel bearing layer that is a Smart Object of a Canon 5D2 RAW file. the rest of the PSD consists of adjustment layers with masks. I ended up resizing the image to about 2000px wide and accidently clicked the "save" but
-
MacBook is running very slowly and keeps shutting down
My computer is painfully slow and keeps telling me that my Finder has paused. It often does this when I have multiple web pages open or when I'm using more than one application. I only use Office, Preview and Firefox or Safari - depending on which is
-
Setting JVM options in a capi program with JMSJVMOPTS
Hello, We are using Weblogic's capi to access JMS from a C program. We are running on a Sun Solaris 2.9 machine and linking our program with the 1.4.2 Java Vritual Machine. The program runs ok but we would like to turn on the "verbose:gc" o
-
Printing permission cancelled after transfer to new computer
I had to transfer my library to a different computer shortly after purchasing some books for which I had the right to print them exactly once. I activated ADE, transferred the files and although I had not printed any of the material I cannot do so no