| Author |
Message |
|
|
Post subject: Debian Etch Netinstall kde only with smxi Part 2
Posted: Jan 07, 2007 - 06:06 AM
|
|
Joined: Nov 28, 2006
Posts: 4950
Status: Offline
|
|
UPDATE: smxi now features full support for Debian Sid, Testing, and Stable. You can use it to build up any netinstall or business card system to be whatever you want.
Update (2009-01-04) - Read this building a debian slim install with smxi thread, which is more up to date than this material, though I've updated this now to show more current information on this single first posting, not the rest in the thread.
IMPORTANT: You must use grub for this process, whether you are doing a fresh install or converting an existing install. Grub must be installed and configured BEFORE you begin the conversion process with sm script. Make sure to test this before you start.
After hearing repeated reports of failure with kde etch netinstalls, on nvidia boxes especially, I did some quick tests and located the causes of the failures, which are actually apt failings, but they are easy to fix.
This will give you a pure kde system, no gnome installed at any point.
Warnings: only first time smxi users from non sidux systems, like Debian or etch netinstall, will see this option by default, which means you only see it the first time you run the script. If you missed it, or want to get your kde running now, you can start the script with the -p option, use p for no pdiffs the first time to make sure it all goes well due to those annoying bzip errors in pdiff.
To get the same results I got, do the following:
Download and install Etch netinstall
Download latest netinstall iso:
http://www.debian.org/devel/debian-installer/
I used this from the weekly snapshots section for 32 bit:
http://cdimage.debian.org/cdimage/etch_ ... etinst.iso
The important thing is to get a fairly recent one so you get the latest kernel.
Next, do the netinstall. When the time comes to install your packages, DESELECT the desktop option and just leave the basic system to install. This means you won't have gnome installed. In other words, no desktop packages were selected, and only basic install was chosen. That meant only one item selected in my install, if you want servers etc it would be more.
You can install xorg and a small desktop later, in the Package install section of smxi.
Edit /boot/grub/menu.lst
Netinstall comes with vim and nano, so use whichever you like better.
When the system reboots, first edit /boot/grub/menu.lst to fix some defaults:
[NOTE: if vga=791 or vga=0x317 cause you problems, just skip that part.
see michae's posting down a few posts to see why this might cause problems]
find this: # kopt=root=UUID=<some uuid string> ro
and add vga=791
[or vga=0x317
then go down to the kernel boot line and add the same thing, this will give you better sized terminal.
Also, add after the color line the gfxmenu item, this only works if you install grub-gfxboot package via smxi, leave this alone for now.
# Pretty colours
color cyan/blue white/blue
gfxmenu (hd0,2)/boot/message
make the hd0,2 match your etch root / boot install partition, remember, drive and partition start with 0, not 1, so this would be /dev/hda3 for instance.
Reboot if you want so you can actually have a decent amount of text in your terminal, otherwise the fonts will be too big.
Download and run smxi
Then download and run the smxi script to
cd /usr/local/bin
wget -Ncq smxi.org/smxi
chmod +x smxi
then run it:
smxi
When the script starts up, there will be reminders for debian users, but I'll write them here to make sure. The script will search for any missing programs it might need before the main part starts, that will probably be bzip2, unzip, gcc, and some other stuff.
1. Do not install your sidux kernel yet, wait until the dist-upgrade is done and all new packages are installed. Also do not install graphics drivers
2. Do the dist-upgrade, then note that the script tells you that you will get desktop install options later.
3. Install any other packages you might want using the package install option.
This is where you install your xorg (install first), then either xfce, fvwm, or kde (kde not recommended, use sidux lite iso for a full correct sidux install if you want kde).
WARNING: for some reason the remove xorg modules feature is not working correctly with this first time xorg install, so don't use it yet.
4. At graphics, pick the init 5 option, do not install driver, we want to make sure x and kde start.
If x and kde start up fine, go back to runlevel 3, ctrl+alt+F1, or however, then run script again.
5. Install newest kernel for your system. Reboot.
6. Check that kde strarts fine, then back to init 3, run script to install graphics driver, you can skip the first parts by starting it with -kwidt option, that takes you right to graphics driver install. Install driver, kde should start right up.
There are some little glitches and missing packages but it works! And NO GNOME on your system.
This should help people out a bit who have been having trouble with the kde install. |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
Last edited by h2 on Jan 05, 2009 - 12:46 AM; edited 14 times in total
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 07, 2007 - 06:56 AM
|
|
Joined: Dec 02, 2006
Posts: 2292
Status: Offline
|
|
| great job, h2. Nice little guide to getting a nice slim sidux install with only the packages you want via a netinstall. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 07, 2007 - 11:47 AM
|
|

Joined: Dec 02, 2006
Posts: 407
Status: Offline
|
|
| h2: i cant get the sidux grub graphics going on debian>sidux either- and my grub is in mbr. |
_________________ Linux user 403389 and Herbaholic Trichopath
AMD Athlon 64 X2 4200+ / 2GB dual chan ddr2 800/ gigabyte ga-m61sme-s2
Acer Aspire One (sidux-Ourea)
sidux -64 Gaia
Hackintosh Leopard
Win Xp (virtualbox)
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 07, 2007 - 04:12 PM
|
|
Joined: Dec 02, 2006
Posts: 2292
Status: Offline
|
|
| Same deal..trying to figure how to fix that |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 07, 2007 - 07:14 PM
|
|
Joined: Nov 28, 2006
Posts: 4950
Status: Offline
|
|
| If anyone figures out the fix for that, let me know and I'll add it to the script, for now though I'm just happy to see the kde install working without any major errors. |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 08, 2007 - 12:23 AM
|
|
Joined: Nov 28, 2006
Posts: 4950
Status: Offline
|
|
Version 5.6.4: added xfce4 only install option to -W / debian install routine, so now you can pick between kde or xfce4. Piper is working on fvwm package for that installer so that will give you some good lightweight choices for older hardware, or just hardware that doesn't need a fancy window manager.
Code:
Host/Kernel/OS "debian" running Linux 2.6.18.6-slh-up-1 i686 [ sidux-20070107-d ]
CPU Info Pentium III (Coppermine) clocked at [ 996.783 MHz ]
Videocard Intel 82815 CGC [Chipset Graphics Controller] X.Org 7.1.0 [ 1024x768 @60hz ]
Processes 95 | Uptime 22min | Memory 266.453/501.906MB | HDD Size 30GB (3%used) | Client Shell | Infobash v2.55
Note: actual ram use as given by htop is less, about 60 mB or so currently. |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 08, 2007 - 01:47 AM
|
|
Joined: Nov 28, 2006
Posts: 4950
Status: Offline
|
|
UPDATE on xorg modules being removed by remove-unused-xorg modules option in script [clean xorg modules]: the system will not have properly registered the required xorg modules until you have started x at least one time after your first install.
It's possible you may need to reboot to make sure, so you might as well not run that option until after the kernel install, when you have rebooted.
Then it correctly lists only unused modules. If you see this module, do not remove any modules: xserver-xorg-input-mouse or -input-kbd
Taht means xorg does not yet know what modules are being used. |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 11, 2007 - 02:02 AM
|
|
Joined: Dec 02, 2006
Posts: 2169
Location: Germany / NRW
Status: Offline
|
|
hi h2
please add a warning to the section of your description where you recommend some fixes ( first edit /boot/grub/menu.lst to fix some defaults: )
I have to fix a pc with sis graphic on board ( I know, not a good choice). With VGA=791, this bord has a black screen (signal frequency out of range). As I have nvidia for my own pc_s, I wasn't aware of this problem and it costed me a lot of time to understand where this comes from. As you wrote ..."fix some defaults", I thought this setting to be necessary.
So please add a general warning, that this setting may cause problems at least with some sis graphic chips.
For my pc_s your script works fine! Thanks for it.
Greetings |
Last edited by michaa on Jan 11, 2007 - 04:05 AM; edited 2 times in total
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 11, 2007 - 02:11 AM
|
|
Joined: Nov 28, 2006
Posts: 4950
Status: Offline
|
|
michaa, I updated it to note that it may cause problems for some video cards.
I found the cause of the gfx grub not working, it's a missing package, but when I tried to replace grub with grub-gfxboot, it destroyed my grub and I can't get it reinstalled no matter what I try, so for now I'm not going to mess with changing to graphic grub, the text at least works. |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 11, 2007 - 07:13 AM
|
|
Joined: Nov 28, 2006
Posts: 4950
Status: Offline
|
|
By the way, I've done a few of these installs now, and here's what it looks like:
xfce basic install: 860 mB on disk
kde no koffice: about 1.3 gigabytes on disk
xfce runs great on 1024x768 mobo video with 2 mB ram, 15 bit color depth 1 gigaherz pentium 3 with 512 mB ram [half that would be fine since system uses about 70 mB or less on average], I thought I'd need a new video card but it's fine. |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 11, 2007 - 04:32 PM
|
|
Joined: Dec 02, 2006
Posts: 2169
Location: Germany / NRW
Status: Offline
|
|
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 11, 2007 - 06:22 PM
|
|
Joined: Nov 28, 2006
Posts: 4950
Status: Offline
|
|
| michaa you are right again, I copied the wrong link, that's been updated now above, thanks. |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 11, 2007 - 06:49 PM
|
|
Joined: Dec 02, 2006
Posts: 2292
Status: Offline
|
|
| h2, why not save a backup of your working menu.lst before you install grub-gfxboot in case it gets horrendously mangled. I got grub-gfxboot working by using a working menu.lst that I saved. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Debian Etch Netinstall kde only with du-fixes-h2.sh Part
Posted: Jan 11, 2007 - 06:55 PM
|
|
Joined: Nov 28, 2006
Posts: 4950
Status: Offline
|
|
that's a good idea, for sure. Unfortunately when I installed grub-gfxboot I didn't realize that it would replace grub, I thought it was just an extra package, and by the time I let it replace it, it was too late.
That's what I'll have to do though if I test this again.
<update>Just checked, in fact both the grub-gfxboot and my script made backups so I guess I do have a backup copy to restore after all. |
_________________ sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 13, 2007 - 06:51 PM
|
|
Joined: Dec 12, 2006
Posts: 28
Status: Offline
|
|
H2 i attempted a 64bit sidux install on my laptop (AMD Athlon64 3000+) . When installing the standard kernel first it gives me the smp by default don't know if that is a problem or not. But after that i get an error when it tries to install the header.deb file it tells me that the it cannot find the folder and fails to install. After that the kernel does not appear when i reboot.
After 2nd attempt to install kernel via the script I rebooted into a broken kernel after getting the same header errors. This i just mildly troublesome.. I guess I am guna go install 32bit now lol |
|
|
| |
|
|
|
 |
|
|
|