Linux ??

Page 2 - Seeking answers? Join the Tom's Hardware community: where nearly two million members share solutions and discuss the latest tech.

linux_0

Splendid
I tried LiveCD for Ubuntu but it was very very slow right after the loading was complete, is this normal?

Ive been using, Windows my whole life, but I wanted to see what all the fuss is about, but seems like everytime I try using Linux I hit a bump in the road, I'm probably Jinxed. But anyway, How long should I wait till after the loading is complete in order to start using the OS from the CD?


This usually happens when you don't have enough RAM.

What were the specs of the machine you tried it on?


I think http://distro.ibiblio.org/pub/linux/distributions/damnsmall/current/dsl-2.4.iso would run a lot better.

The trouble with Live CDs is that they have limited resources to work with. When you click on a program the system has to read the data from the CD, uncompress it and run it, which can take for ever especially on a slower or older system.

Also a live CD usually has a lot less RAM to work with because a pretty large percentage of your RAM is used as a RAM disk for temporary storage.

On Knoppix for example you can specify how much RAM to use:

knoppix mem=128M # Specify Memory size in MByte

http://www.kernel.org/pub/dist/knoppix/knoppix-cheatcodes.txt


I believe the Ubuntu live CD has similar options.

Of course the more RAM you have the better.

If you have enough RAM you can load the entire CD to RAM and run it from there which will be VERY fast. But you need a large amount of RAM to do that.

:-D
 

bmouring

Distinguished
May 6, 2006
1,215
0
19,360
I tried LiveCD for Ubuntu but it was very very slow right after the loading was complete, is this normal?

The unfortunate truth is that reading from an optical drive is much much slower than reading from a hard disk. As such, anything that can't fit into memory much be read from the cd. If you have sufficient memory (read: more than a gig) you can make your testing experience much better by telling Linux to load all of the contents of the cd to memory (usually, at the boot: prompt, typing in a kernel name and adding docache switch). After some quick searching, it looks like the Ubuntu liveCD doesn't support the switch, but I know Knoppix does.

Anyway, another source of slowdown can be your system, I second linux_0's call to find out your system specs.
 

linux_0

Splendid
I tried LiveCD for Ubuntu but it was very very slow right after the loading was complete, is this normal?

The unfortunate truth is that reading from an optical drive is much much slower than reading from a hard disk. As such, anything that can't fit into memory much be read from the cd. If you have sufficient memory (read: more than a gig) you can make your testing experience much better by telling Linux to load all of the contents of the cd to memory (usually, at the boot: prompt, typing in a kernel name and adding docache switch). After some quick searching, it looks like the Ubuntu liveCD doesn't support the switch, but I know Knoppix does.

Anyway, another source of slowdown can be your system, I second linux_0's call to find out your system specs.


That's absolutely right!

Optical drives are still relatively slow both as far as the transfer rate is concerned as well as the average seek time.

Most CD drives offer 7200 KB/sec maximum reads with 160+ms Access Time

The minimum transfer rate is probably about 2400 KB/sec ( 16x )

160ms is not for a full stroke by the way... IIRC it's for 1/3 stroke
 

DaBigHurt

Distinguished
May 21, 2006
169
0
18,680
OK heres my sytem:

AMD Athlon 64 3200+
ASUS AN8 SLI
1 Gig Corsair Value RAM
EGeforce 7600GT
Chaintech Sound CArd.

Now, I tried It again yesterday since you guys got me into the mood of Linux again, but this time I tried the 32-Bit version of the Live CD, And right after loading (Everything said OK), I get the Display Adapter error, something about it not being set up correctly. This didnt happen with my 6800XT, but now with my 7600 this is what it gives me. Maybe becuase its a new card?

Do you guys think that I should just Dual boot? It should be better for troubleshooting purposes.
 

linux_0

Splendid
OK heres my sytem:

AMD Athlon 64 3200+
ASUS AN8 SLI
1 Gig Corsair Value RAM
EGeforce 7600GT
Chaintech Sound CArd.

Now, I tried It again yesterday since you guys got me into the mood of Linux again, but this time I tried the 32-Bit version of the Live CD, And right after loading (Everything said OK), I get the Display Adapter error, something about it not being set up correctly. This didnt happen with my 6800XT, but now with my 7600 this is what it gives me. Maybe becuase its a new card?

Do you guys think that I should just Dual boot? It should be better for troubleshooting purposes.


Dual boot.

A native Linux install would run much faster / better.

You might want to consider Ubuntu or FC5


http://forumz.tomshardware.com/software/default-ftopict231054.html


You will also need the nVidia drivers!


i386:

http://www.nvidia.com/object/linux_display_ia32_1.0-8762.html



x86_64:

http://www.nvidia.com/object/linux_display_amd64_1.0-8762.html
 

bmouring

Distinguished
May 6, 2006
1,215
0
19,360
I definatel agree with linux_0 here, a dual-boot situation makes it much easier to fix any issues that may be, and of course would provide a much-improved experience since it will be (much) snappier than a livecd.

BTW, that's a fine machine, the slowdown was most definately the cd accesses.

The first thing to consider is where that installation will go. Do you have a spare hard disk? If not, some repartitioning of (one of) your existing disk will be required to free up space for Linux.
 

DaBigHurt

Distinguished
May 21, 2006
169
0
18,680
Right now I have My Win XP on a 250GB HDD, and a spare 80GB HDD that i dont use at all only to store my TEMP files or images from various Windows Programs, but nothing installed on it.

BTW, I know it can be kinda frustrating when someone keeps asking you questions on a particualr subject wich to you must be a reflex by now, so I wanted to say that thanx for your help so far and for any future troubleshooting advise that you give me, and the same goes to Linux_0. I appreciate it..... :D
 

linux_0

Splendid
Right now I have My Win XP on a 250GB HDD, and a spare 80GB HDD that i dont use at all only to store my TEMP files or images from various Windows Programs, but nothing installed on it.

BTW, I know it can be kinda frustrating when someone keeps asking you questions on a particualr subject wich to you must be a reflex by now, so I wanted to say that thanx for your help so far and for any future troubleshooting advise that you give me, and the same goes to Linux_0. I appreciate it..... :D


:-D

As bmouring said you either need a 2nd disk or you need to repartition your existing 250GB drive. It's often easier to use a 2nd disk ( as long as it's healthy ).

I'd say Ubuntu or FC5 it. GRUB will take care of booting XP or Linux :-D

Here's some decent info on how to setup a dual-boot system:

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/install-guide/ch-x86-dualboot.html

Take it with a grain of salt, RH9 is quite old. The concepts are still the same however.
 

bmouring

Distinguished
May 6, 2006
1,215
0
19,360
I'd say boot up a nice system tool disk* to check the health of the 80 gig drive (might as well do the 250 while you're at it) and, if it looks healthy, change the BIOS to boot from the 80 gig (if your BIOS has per-disk boot separation like mine does) and continue with the howto listed by linux_0 or one of the countless other guides online, generally speaking they're all fairly well explained to get you up and running.

*Some options here include: using a Linux LiveCD that has either ide-smart or smartmontools on it. Try either[code:1:31fb4909fc]ide-smart /dev/hdX[/code:1:31fb4909fc] or [code:1:31fb4909fc]smartctl /dev/hdX[/code:1:31fb4909fc] (assuming the drives are IDE, if SATA use /dev/sdX instead), where X is a,b,c...

You can also use a tool disk like the ultimate boot cd which includes multiple disk checking programs including SMART scanners (harddisk heath monitoring)
 

linux_0

Splendid
Could also run /sbin/badblocks
Indeed, they would show up in the SMART report, but it's farily length and can get buried, this puts it right out in the open.


:-D

You can also dd the drive a few blocks at a time and see what happens.

Crude but effective :D
 

bmouring

Distinguished
May 6, 2006
1,215
0
19,360
Crude is a bit of an understatement :) but it is indeed effective. dd, without a doubt one of the most powerful tools ever conceived. I currently use it to back up a weekly byte-perfect copy of my RAID0 so that in case of an emergency, I can be back up and running in a matter of minutes.
 

linux_0

Splendid
Crude is a bit of an understatement :) but it is indeed effective. dd, without a doubt one of the most powerful tools ever conceived. I currently use it to back up a weekly byte-perfect copy of my RAID0 so that in case of an emergency, I can be back up and running in a matter of minutes.


Indeed :-D

dd is awesome!

g4l, g4u and partimage are very kewl too ;-)
 

bmouring

Distinguished
May 6, 2006
1,215
0
19,360
I looked into each of those at some point but the didn't seem to be any faster at making the image (probbaly due to the fact they use dd underneath anyway) but for other types of backups, they are invaluable.
 

linux_0

Splendid
I looked into each of those at some point but the didn't seem to be any faster at making the image (probbaly due to the fact they use dd underneath anyway) but for other types of backups, they are invaluable.


Indeed :-D

Some are network capable btw ;-) very kewl stuff
 

gman01

Distinguished
Jun 25, 2006
272
0
18,780
What Linux would you guys recommend for a new Linux user. I have read many posts on linux software but not sure which exactly would be good starting point for me. Thanks for yall help

Well you can never go wrong with fedora linux: http://fedoraproject.org/wiki/ .... It is the most solid, stable(an I think still the most common) distribution....

and you can get an answer to any question you will ever have here: http://www.fedoraforum.org/

My big advice to you is to pick the 'KDE' desktop interface over 'GNOME' when doing an installation.... You can pick both during the installion if you want, and switch back and forth betwwen them to try them both after installation.... Once you start using 'KDE' you will never want to use windows again, accept for games....
 

linux_0

Splendid
What Linux would you guys recommend for a new Linux user. I have read many posts on linux software but not sure which exactly would be good starting point for me. Thanks for yall help

Well you can never go wrong with fedora linux: http://fedoraproject.org/wiki/ .... It is the most solid, stable(an I think still the most common) distribution....

and you can get an answer to any question you will ever have here: http://www.fedoraforum.org/

My big advice to you is to pick the 'KDE' desktop interface over 'GNOME' when doing an installation.... You can pick both during the installion if you want, and switch back and forth betwwen them to try them both after installation.... Once you start using 'KDE' you will never want to use windows again, accept for games....




FC is great :-D I use it, works fine, love it.

Any modern distro is going to be good tho and don't forget *BSD is great too :-D
 

bmouring

Distinguished
May 6, 2006
1,215
0
19,360
Agreed. I recently have been using FreeBSD and, while it's not for the uninitiated or at least a person with some time, persistence, and a spare computer to read forums/guides, it's a lot easier to use than I was expecting. Ports and Packages make things really nice too.
 

linux_0

Splendid
Agreed. I recently have been using FreeBSD and, while it's not for the uninitiated or at least a person with some time, persistence, and a spare computer to read forums/guides, it's a lot easier to use than I was expecting. Ports and Packages make things really nice too.



Linux and *BSD work great together :-D

Good stuff :-D
 

fishmahn

Distinguished
Jul 6, 2004
3,197
0
20,780
I was just coming over here to ask almost this same question. Thanks all! :)

Only question I have right now is how will these distros run on a slower PC with limited RAM? I have an old K6-2/400 (and a P2/300 but the K6 has more RAM) that I think has 192MB. Would that run well enough for learning? Is there a 'lite' distro if that would be too slow?

I could run it on one of my primary systems but there are more users than computers as is (even more if you count the 2 toddlers but they don't use it without supervision yet).

Mike.

PS: Linux_0, a couple months ago you pointed me to a Knoppix d/l to recover my data from a hosed XP install... I probably didn't mention that I got everything I needed - thanks for your help. (I never remember to do that at the appropriate time)
 

linux_0

Splendid
I was just coming over here to ask almost this same question. Thanks all! :)

Only question I have right now is how will these distros run on a slower PC with limited RAM? I have an old K6-2/400 (and a P2/300 but the K6 has more RAM) that I think has 192MB. Would that run well enough for learning? Is there a 'lite' distro if that would be too slow?

I could run it on one of my primary systems but there are more users than computers as is (even more if you count the 2 toddlers but they don't use it without supervision yet).

Mike.

PS: Linux_0, a couple months ago you pointed me to a Knoppix d/l to recover my data from a hosed XP install... I probably didn't mention that I got everything I needed - thanks for your help. (I never remember to do that at the appropriate time)




192MB is not much but almost any decent distro should run minus some eye candy.

More RAM is always better :-D

DSL should run better than most distros with only 192MB.

http://damnsmalllinux.org/

http://distro.ibiblio.org/pub/linux/distributions/damnsmall/

Also check out DSL-n



Another option is VMWare or QEMU under windoze -- you can run just about any Linux or BSD distro in a Virtual Machine as long as you have a lot of RAM in your main system.

http://www.vmware.com/download/server/

http://qemu.org/


Good to hear you saved your data :-D
 

fishmahn

Distinguished
Jul 6, 2004
3,197
0
20,780
Thanks for the quick reply. I'll look into those.

I may be able to acquire a P3/450 and can get 256MB in it. I wonder... I might be able to rearrange things and get it to 320 or 384. would that be noticeably better than 256?

I'd just get a new system - I've been aching for a dual core for a year now... and my XP2600 needs to be downgraded from primary to wife's, (and linux would get her 800mhz/384meg system) but the money just isn't there right now. :( (And for the first time in 15+ years, the office has faster PC's than I do... :cry: )

What should the minimum RAM be? Is it like XP 'says' it'll run on 128meg, but you really don't wanna run with less than 256, etc.? I guess that would depend on the distro - I am aiming for Ubuntu and/or Fedora.

I'm not a total noob to unix - well I am to Linux - but I had a short stint using HP/UX (really MPE/IX - only difference AFAIK was the MPE emulator) 10 yrs or so ago. I'm also proficient (but rusty) in a few other OS's, so a more difficult distro isn't a problem for me.

Mike.
 

bmouring

Distinguished
May 6, 2006
1,215
0
19,360
Honestly, there won't be a huge difference from 256 until you get to around 512. Try a distro on it that defaults to a lighter-weight desktop, like xubuntu, which is Ubuntu-based distro that uses XFCE4 as the desktop environment. It uses the gtk libraries so apps look pretty good.

You can always use Gnome or KDE on a machine with 256M, but the experience will be much more rewarding with a slightly more svelt manager.

You can, if you're a little adventurous and don't mind spending some time setting things up, look into a distro that uses one of many other great light-weight managers such as fluxbox/icebox/blackbox, fvwm, etc. etc. ( I mean there are a lot). I just suggested XFCE4 because it's very much in the spirit of a lightweight Gnome.

Once you get past 512M, either Gnome or KDE will be great (assuming you have a passable cpu) and any addition memory past that will just be gravy.

My $.02 from personal experience.