Latest News / Free Zone

I've got Mandrake 10 now...

I've got Mandrake 10 now...

17 Dec 2004, 06:50
Well and I dual-booted with Windows.

http://www.phait-accompli.com/crap/mndrk1.jpg

First, others might suggest a different distro, and that's fine, but Mandrake seems to be the compromise for me. I'm no hardcore developer so I don't really need alot of the development oriented stuff, or particular oriented distros.

I usually prefer to have my Windows drive partioned in 2: one for main programs, the other for website dev stuff. Unfortunately I had to jump through a million hoops for some reason just to get the 2 seperate hard drives I do have, formatted and partitioned right - it never was a problem before... I believe the floppy disk for setting up the HDD is corrupted, and I managed to use XP cd's boot utilities and such. Anyway, now Windows is on just one drive, the 80gb, and Linux Mandrake is on the 20gb.

I installed Mandrake on a friend's mutt computer as well - that was more hell to get prepared, I'm not even going into detail its overwhelming, but I can say I did get it working, and Mandrake installing there, although it said it'd take 2 hours. I told my friend to check in every half hour and put in the prompted CD each time.

I have CD's 1 to 3 of Mandrake 10. It asked for a 4th disc, I didn't have it so I said 'no' and it finished installing. Kinda wonder what might've been on that 4th disc, probably some packages I chose. I'm stopping back over there today to see how it went.

Anyway, back to my system. I'm still using Windows primarily (everyone else here is familiar with it even though all they do is browse the web). I'd hate to just ditch XP because I didn't pay for the upgrade, so we might as well use it still. Besides that, I still have to familiarize myself more with Linux. For isntance I have maybe 3 or 4 FTP programs and I couldn't connect in any of them. In Windows however I use something called Win SCP, which is a more secure FTP. I don't think the Linux FTP's I tried (I don't recall what they were), featured this protocol.

I have KDE and GNOME environments installed, along with some others and right now I'm primarily using KDE. I recall installing something that was akin to the Windows file explorer interface, for managing files but I have to find it yet. Konquerer works, but theres a buncha options I haven't even gone through yet, and this applies to other programs and the OS itself! There is just so much, it can be overwhelming, but at the same time I really admire the depth.

I'm already a bit familiar with the file system hierarchy as I also have Mac OS X, but I wouldn't consider myself confident with the UNIX file system yet. I really don't know any console commands yet, and I dont' think I'm going to be a power user enough to really be using the commnand line - but I understand the power of it and it's great it's there too.

Besides the FTP problem, a minor thing is I installed Yahoo! Messenger and Firefox, and their shortcuts don't have their traditional icon. This is expected as other programs have their own icons... not sure what's up with that. But they both do work well.

I am able to view the Windows drive in Mandrake, but I cannot see the Mandrake drive in Windows. What I might like to do is setup a kind of shared server where if I want, I can work with my webpages (Apache + PHP, already installed in Mandrake) on either OS, and edit the same files, instead of copying back and forth just for an updated file. I also was not able to copy a .JPG screenshot to the Windows drive. I know there are things I'm obviously overlooking as I'm really quite new to this, but these are just the few minor problems I'm having. Other than that it seems to be pretty solid.

--------------------------
For my music, webdesign services, personal site, and also my writings and interviews check http://www.phait-accompli.com
My music journal: http://jkohli.blogspot.com
-------------------------------------------------------------------------
"If it moves me then I know it's going to affect somebody else..." -David Gahan

Re: I've got Mandrake 10 now...

17 Dec 2004, 07:40
Hey Phait,

congratulations on your new setup.

Do you have mandrake 10 or 10.1 and is it community or official? I have mandrake 10.1 official and it's the latest and the most stable mandrake distro. I also have kde 3.3.1 installed (not 3.2.3 like shipped with 10 and 10.1).

As of the development thing and the distro choice - don't worry, all top linux distros have all the tools you need for development. So if you ever want to get some very fresh software compiled from sources, you can do it with mandrake.

Okay, as of FTP and SFTP, you can do this with Konqueror - its a web browser and file manager. Just type sftp://hostname or ftp://hostname and you will be prompted a login/password and get to the site. I use Konqueror to admin my sites via FTP. There is also the KWallet utility that stores your logins and passwords for all sites you access.

As about the software icons - mandrake, unless you configure it, uses it's own non-standard application menu scheme, and apps that use a standard scheme won't appear there. You have to add them manually withe their (crappy) menu editor. But you can go to the mandrake control centre and set menu style to default, and then all 3rd party apps will appear in the menu.

Setting up apache and php is a blast. If you want to create virtual hosts (like http://thecarbonflaw or http://phait-accompli) to locally develop your sites, let me know. It's about 2 minutes to work with two text files (host names db and apache config).

You may also read about my setup and the apps I mostly use here: http://artemio.net/about/desktop/


Artemio.

Re: I've got Mandrake 10 now...

17 Dec 2004, 07:58
Hey Artemio. I'm running 10.1 and am not sure which release it is. I've got KDE 3.2. I just rebooted and I'm in Mandrake at this moment.

Do you use any instant messaging programs? It'd be nice/convenient to chat.

--------------------------
For my music, webdesign services, personal site, and also my writings and interviews check http://www.phait-accompli.com
My music journal: http://jkohli.blogspot.com
-------------------------------------------------------------------------
"If it moves me then I know it's going to affect somebody else..." -David Gahan

Re: I've got Mandrake 10 now...

17 Dec 2004, 08:36
Oh, great. KDE 3.2.3 is good and in Mandrake 10.1 it has some features back-ported from KDE 3.3.x.

I chat on ICQ sometimes (#162796035) and on #kde, #kde-devel and #hydrogen channels at irc.freenode.net. But that is very rare, please post your questions here or mail me.

I use KMail for e-mails, KSirc for IRC and Licq for ICQ. There is a Kopete messenger which supports Jabber, AIM, ICQ and many other protocols.


A.

Re: I've got Mandrake 10 now...

17 Dec 2004, 09:03
Ok here's some questions :)

1. I just read Linux cannot read NTFS (Windows XP/2k) file system, but it was suggested there might be a utility to mount a Linux FS in Windows. Related, when I installed Mandrake I got a multitude of file systems to choose from, including various Windows systems... which seems odd. Anyway, I chose Linux standard, seemed like the safest option.

I'd really like to be able to share web dev between the two OS's, but I can live without it.

2. Shell scripts or binaries? If I launch the Firefox shell script, it will launch Firefox. The binary does nothing when double clicked... Same with Yahoo! Messenger. These are both what I installed myself... is there also a recommended place for all installs? I have Firefox in home/jkohli/documents/apps I think, and Messenger is... somewhere else.

3. Command line package management vs. GUI, is one better than the other?

Thanks Artemio.

--------------------------
For my music, webdesign services, personal site, and also my writings and interviews check http://www.phait-accompli.com
My music journal: http://jkohli.blogspot.com
-------------------------------------------------------------------------
"If it moves me then I know it's going to affect somebody else..." -David Gahan

Re: I've got Mandrake 10 now...

17 Dec 2004, 09:37
1. Linux can read NTFS partitions, but writing is experimental and may not be included on the distro. Also, I am not aware of any software that can mount Ext3 or ReiserFS on Windows. By the way, did you use Ext3 or ReiserFS? You can check it by saying "mount" in Konsole and see something like "dev/hda5 on / type reiserfs (rw,notail)" or "dev/hda5 on / type ext3 (rw,notail)".

I suggest you to create a small FAT partition on your drive (maybe 1 Gb) and it will be readable and writable by both OSs.

2. Some apps use a shell script that first sets up the needed application environment and then launches the binary with some needed options.

I install all apps as root, and I have them in /usr/local.

3. On Linux, GUI tools are mostly only front-ends to command-line tools. So it really doesn't matter. I use both. For example, when I download an .rpm for Mandrake, I go to the dir where I downloaded it to, hit F4 (that launches Konsole terminal), then say "su" or "su root" (su = set user), enter root password, and then use "urpmi package.rpm" to install it system-wide. But if I want to delete the packages I launch drak-rpm-remove to have a GUI to search for unneeded packages and remove them.


A.

Re: I've got Mandrake 10 now...

17 Dec 2004, 20:02
Geez first I screwup my OS X system the other day but I fixed it, and now I screwed over Mandrake even worse, all by changing to a window theme that wasn't even there, but was listed. The whole interface is missing besides the taskbar, and the desktop icons don't show except for their names. Tried various stuff at a command boot, my root password is not working even after being reset...

I'm just going to format that drive and use it as a secondary drive for XP again. Also, had some problems getting Mandrake to recognize or get setup with a modem on my friend's computer, so we just removed that and he went back to Windows. But he does like Linux, it's just we couldn't get it setup for his primary internet use.

I can't blame anyone else but myself for that, I'm still very new to this and I have been tired lately with all this configuring/installing/waiting crap anyway... I'm sure we could get that modem going if we wanted to... getting DSL setup for myself was easy though.

I do still like Linux, but I never really needed it. I might set it up another time, at least I'm more familiar with it now.

--------------------------
For my music, webdesign services, personal site, and also my writings and interviews check http://www.phait-accompli.com
My music journal: http://jkohli.blogspot.com
-------------------------------------------------------------------------
"If it moves me then I know it's going to affect somebody else..." -David Gahan

Re: I've got Mandrake 10 now...

17 Dec 2004, 22:04
root password:
~~~~~~~~~

1) boot your machine PC into single user mode, depends on boot loader:

LILO: a) press TAB at the boot prompt, type: "linux single", no quotes and press enter
OR

GRUB: b) press 'e' to edit the boot entry; use down arrow to go to line beginning with "kernel", press 'e', go to end of line and type: "single", no quotes, press enter to accept change, press 'b' to boot

you can now change password using passwd

OR

2)
a) boot your pc from the Mandrake CD into rescue mode -- i don't know the exact terminology Mandrake uses, it should be similar

b) mount your root partition:

mkdir /mnt/tmp
mount /dev/hda3 /mnt/tmp
cd /mnt/tmp/etc

your root partition may be the 1st partition:
mount /dev/hda1 /mnt/tmp -- adjust # as necessary

or you may be using a SCSI drive:
mount /dev/sda3 /mnt/tmp

c) edit root entry in passwd file or shadow file, whichever one has a collection of weird characters after: root:A@$WWSXx:

if the file has: root:: you want the other file

d) after saving, reboot your machine the unix way:

shutdown -r now

no pushing the reset switch.




Window problem/bad theme
~~~~~~~~~~~~~~~~~~
brute force method
a) log in as the user with the bad theme installed
b) in a terminal window or command prompt:
cd
mv .kde3.2 .kde3.2old
mv .kde .kde.old

c) log out and log back in


Good Luck.

Re: I've got Mandrake 10 now...

18 Dec 2004, 11:54
Phait, I have never ever got a Linux system screwed up like that. You truly are a professional ;-)

Just do what Sami suggested. Login in single user mode (choose "failsafe" in boot menu), then, when a shell comes up, say:
# passwd root

and enter new pass for root.

Right after that (without rebooting), go to your home dir:
# cd /home/jkohli

and remove:
# rm -r .kde

or move:
# mv .kde .kde.old

the KDE config directory.

Then, reboot the machine:
# reboot

and boot in normal mode ("linux" in menu).

You should now have a system like it was right after the installation.


Artemio.

Re: I've got Mandrake 10 now...

18 Dec 2004, 14:49
Even changing the root password didn't help, I tried that. It'd confirm it was changed, then I'd type it in when asked, and it'd say invalid.

I uninstalled it and I'm using that drive for other stuff anyways. I'll probably install it some other time.

--------------------------
For my music, webdesign services, personal site, and also my writings and interviews check http://www.phait-accompli.com
My music journal: http://jkohli.blogspot.com
-------------------------------------------------------------------------
"If it moves me then I know it's going to affect somebody else..." -David Gahan

Reading Linux FSs from Windows

18 Jan 2005, 03:22
> Also, I am not aware of any software that can mount Ext3 or ReiserFS on Windows.
Google for 'yareg' - a small utility that lets you read ReiserFS from Win. Does the bare minimum.
A

Re: I've got Mandrake 10 now...

18 Jan 2005, 05:17
Andrea: another Linux user here? Welcome! ;-)


A.

Re: I've got Mandrake 10 now...

18 Jan 2005, 05:39
Proud Linux user since 1993, kernel 0.99 or thereabouts. Somewhere I still have the collection of 10 or so floppies the kernel sources came on then.

A couple more questions:
- I am thinking about buying a Fantom, and would like to hook it up to a PC. Any suggestions as to which sound card to get (need to use XP, Linux support would be great)?

- Also, I am thinking of a setup where, in order to learn kbd parts from mp3 files, I'd plug a kbd into my PC, use winamp to play the mp3 (with loopmaster to do a-b repeat and one of the slowdown plugins to reduce the tempo). Then mix the mp3 and my kdb in the PC, and hook earphones into the PC. Do you guys out there have a better suggestion on how to achieve something similar?

Thanks,
A

← Back to Latest News / Free Zone