HOWTO Requests

Share your own howto's etc. Not for support questions!
Message
Author
User avatar
Hadret
Posts: 354
Joined: 2007-07-19 13:04
Location: Berlin

#46 Post by Hadret »

Would love to see howto about installation of Debian (Testing? Unstable?) with kernel 2.6.28 (vanilla? It's not packed yet, I guess) on ext4 partition ;]

JustDebian
Posts: 14
Joined: 2007-06-26 17:04

#47 Post by JustDebian »

I've been looking for a HOW-TO that explains how to be able to write files to a FAT32 (Win98) directory that is mounted via fstab during start up.

The directory, all subdirectories, and all files are owned by root and the root group, even tough the mount directory was created by me as a user. Whenever I try to save a file in the Win98 directory, permission is denied, even though I own the file.

The fstab shows this:

/dev/hde6 /home/user/windata vfat defaults 0 0

The ls -l command shows this:

drwxr-xr-x 26 root root 4096 1970-01-01 00:00 windata

I've tried things like: chmod and chown and other things I cannot now remember to set the ownership, group, and permissions so that I can save files and manage files in the FAT32 directory. How can I do that?

infinitycircuit
Posts: 1137
Joined: 2007-07-24 03:31
Location: California

#48 Post by infinitycircuit »

Hadret wrote:Would love to see howto about installation of Debian (Testing? Unstable?) with kernel 2.6.28 (vanilla? It's not packed yet, I guess) on ext4 partition ;]
I am working on this myself.

The quick answer is to download an Ubuntu Jaunty daily build, use it to manipulate the partitions, and then install a self-compiled 2.6.28.
I am currently a Debian Maintainer. I am also in the New Maintainers' Queue.

jalu
Posts: 1397
Joined: 2008-11-19 23:26

cli-ltools for audio and burning(images and iso`s)

#49 Post by jalu »

A How-to on command-line-tools to deal with audio and burning CD`s/DVD`s
would a big wish of mine.
Its really hard to find info on that
e.g.:at debian.org
wodim, cdrecord, cdtools... doesn`t give usefull results at all.

On this forum i just found this how-to added by dawgie.
Its pretty well but its only about burning and making images
(its not about how to make use of a cli-cd-player and other questions)
http://forums.debian.net/viewtopic.php? ... t=cdrecord.
edit:
here is a brand new one (03/o9) by julian67:
http://forums.debian.net/viewtopic.php?t=36826

At least you ain`t got that lots of choice on the gui, have you?

Well: the year has just started, so i keep the head up and the hope alive
being over the hump when it ends.:-)

greetings and thanks
jalu
Last edited by jalu on 2009-03-10 07:02, edited 1 time in total.

User avatar
Hadret
Posts: 354
Joined: 2007-07-19 13:04
Location: Berlin

#50 Post by Hadret »

infinitycircuit wrote:The quick answer is to download an Ubuntu Jaunty daily build, use it to manipulate the partitions, and then install a self-compiled 2.6.28.
So, it looks like this:

1) I need already compiled and working kernel 2.6.28 with ext4 enabled.
2) Then I launch Ubuntu 9.04 alpha 3 LiveCD (could it be alternate CD and It has to be amd64 if I'm using Debian 64-bit, right?) and convert the / partition from ext3 to ext4:
AdrianTM wrote:tune2fs -O extents,uninit_bg,dir_index /dev/yourfilesystem
fsck -pf /dev/yourfilesystem
3) I also need to change /etc/fstab (ext3 to ext4) and grub.cfg to boot from ext4 partition, right? (:

User avatar
Hadret
Posts: 354
Joined: 2007-07-19 13:04
Location: Berlin

#51 Post by Hadret »

infinitycircuit wrote:I am working on this myself.
This might be helpful: http://elliotli.blogspot.com/2008/12/us ... y-new.html (comments)

infinitycircuit
Posts: 1137
Joined: 2007-07-24 03:31
Location: California

#52 Post by infinitycircuit »

Hadret wrote:
infinitycircuit wrote:The quick answer is to download an Ubuntu Jaunty daily build, use it to manipulate the partitions, and then install a self-compiled 2.6.28.
So, it looks like this:

1) I need already compiled and working kernel 2.6.28 with ext4 enabled.
2) Then I launch Ubuntu 9.04 alpha 3 LiveCD (could it be alternate CD and It has to be amd64 if I'm using Debian 64-bit, right?) and convert the / partition from ext3 to ext4:
AdrianTM wrote:tune2fs -O extents,uninit_bg,dir_index /dev/yourfilesystem
fsck -pf /dev/yourfilesystem
3) I also need to change /etc/fstab (ext3 to ext4) and grub.cfg to boot from ext4 partition, right? (:
I would reformat completely. If you convert an ext3 partition to ext4, then the old files will not have extents until they are modified. You don't need a 64-bit liveCD just to change the filesystem since you won't be chrooting into the system.

So the basic idea is: On another computer, make .deb of an ext4-enabled 2.6.28 or 2.6.29 rc2. (the latter is probably ideal)

On the computer, install a minimal debian install on 1GB, and make the rest of the disk unused (no swap). Install the 2.6.28 kernel.

Boot the LiveCD, make the rest of the disk into ext4 with those options, copy over the data on the first partition, make the first partition swap, add both to the fstab, and reinstall grub.
I am currently a Debian Maintainer. I am also in the New Maintainers' Queue.

User avatar
bugsbunny
Posts: 5355
Joined: 2008-07-06 17:04

#53 Post by bugsbunny »

2.6.28 + ext4

Do you want to install new, or convert existing? (and by convert I agree with infinitycircuit, you don't really want to convert, but rather create new and copy).

For a kernel I suggest adding a sidux repository and installing from there. On my amd64 it's:
linux-image-2.6-sidux-amd64
linux-headers-2.6-sidux-amd64

which gives me:
linux-image-2.6.28-0.slh.11-sidux-amd64
(I expect that will be changing to 2.6.28.1 within about 24 hours)

ext4 is currently enabled in the sidux kernel.
The rest will have to wait, it's late. But basically, since the installer doesn't support ext4, or ext4dev (I've tried a multitude of ways) You need to install minimal to ext3, create ext4 partition, install sidux kernel, boot from live-cd, copy over data to ext4 partition, modify fstab (I use LABEL=), modify menu.lst (you need rootfstype=ext4 as a kernel parameter) and you should be good to go.

Converting existing is basically the same, you just need more disk space to do it.

What I really want (and haven't yet figured out how to do) is to get that onto an encrypted lvm setup. Then I could finish installing on my notebook. Although I haven't tried playing with a Jaunty build - that just might work. Must try that sometime this week.

startgame412
Posts: 60
Joined: 2008-04-21 16:36

#54 Post by startgame412 »

Hi, I'd like a how to for installing and setting up IBM java for PPC in Debian. The problem I am having is that when I try and do fakeroot make-jpkg, I get an error saying that no plugins were found. I'd like to see a howto for this situtation. Thanks.

CAFFN
Posts: 8
Joined: 2007-07-18 10:37

#55 Post by CAFFN »

I'd like a howto on migrating from a single disc install to a 2-disc mdadm raid0 install, without the need for reïnstall please :)

User avatar
sossego
Posts: 1072
Joined: 2007-03-20 23:52

#56 Post by sossego »

How do you enable lkcd?
Let my desire and hope surpass my expectations;
And give me the strength to persevere through doubt.
Grant me the wisdom to exceed my bounds.
Let my eyes always see through the dream fog of childhood,
so that every moment may be treasured.

User avatar
Tadeas
Posts: 1017
Joined: 2008-09-22 09:11
Location: Prague
Contact:

#57 Post by Tadeas »

Do anybody have any experience with running Windows 7 through VirtualBox or VMware? Care to share your experiences and show us, noobs, how to do that :) ? Thanks in advance!
Because let’s face it, the unfortunate aspect of software development is that it involves humans. Mewling, disorganized, miserably analog humans. Sometimes they smell bad.

User avatar
Rolling Stone
Posts: 372
Joined: 2009-02-15 18:55
Location: Turku, Finland

#58 Post by Rolling Stone »

Hello there!

Is there any chance we get a new or updated Kernel compile and install on Debian systems to celebrate the release of Lenny?

I never tried to compile one yet but I'm very keen to and excited about the possibilities. Thanks for these wonderful forums, by the way!

User avatar
CDAT
Posts: 33
Joined: 2009-02-04 10:33
Location: Bridgman, MI
Contact:

Play an audio CD from the command line

#59 Post by CDAT »

How about this one:

I want to play a CD from the command line.

Since I've spent the better part of three hours looking up aplay, playcd, workman, etc... and have had no luck; it must be really super easy.

Cause I'm a 'wherearemyglassesohtheyareonmyhead' kind of guy.

Or maybe, Debian does not like my music and refuses to play it?!
Monkey Wrench, away!

User avatar
debil
Posts: 1338
Joined: 2008-05-11 08:55
Location: Mazes of Menace, surrounded by brown puddings

Re: Play an audio CD from the command line

#60 Post by debil »

CDAT wrote:How about this one:

I want to play a CD from the command line.
My version of it would be quite short:

Code: Select all

mplayer cdda://
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.

User avatar
CDAT
Posts: 33
Joined: 2009-02-04 10:33
Location: Bridgman, MI
Contact:

#61 Post by CDAT »

Right, I have a 1.8 Ghz processor that plays using Sound Juicer from the desktop just fine. I don't know the command to play from a terminal. I've also got a (don't laugh) PII 200 Mhz maxed out that I want to use to learn command line only. I figured learning to play a CD would not be that tough. Wrong!

So after digging around at all the various information troughs, I think that there are about 14 kabillion programs under the 32 flavors of Linux. Not a single article, 'tutorial', or 'How-To' says:

1. aptitude install blah, blah, blah
2. Run alsa-blah and make sure it works
3. man aplay(?) and you will see these commands to mess with an audio cd
a. Example aplay(?) cdrom, or aplay(?) /dev/something, or -I even saw- cdplay cd

Most of what I reads say that they do it this way; and you never know if it's Debian, RedHat, or Suse or something else. And you never get a list of what packages are supposed to be there. Whatever I read about getting fixed fell into either the 'code editing' category or the 'scorched earth' category. And reinstalling everything seems so microsoft to me.

Don't get me wrong! I love this get under the hood stuff and really want to learn how to dig around in Linux. I just don't know what I don't know.

P.S. the mplayer did nothing and

paul@workstation:~$ aplay
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
aplay: main:564: audio open error: Device or resource busy

Things that make me go hmmm
Monkey Wrench, away!

jalu
Posts: 1397
Joined: 2008-11-19 23:26

#62 Post by jalu »

same problem here:
its nearly impossible to find turials howtos on cli-audio and especially cdplayers.

i`m only able to play cd`s from the command-line using icedax:

Code: Select all

icedax -q dev=/dev/hda -e -d0 -t1+n -N
while -t1+n depends how many tracks the cd contains (-t1+12 = 12 tracks).
(no, i can`t explain the syntax q is quiet an t is track, wodim --devices tells you how your cd-device is called, the rest is darkness :-) )
[if it ain`t installed
apt-get install wodim, icedax, genisoimage]

else-if i play audio-files- i use xmms2, most people recommend moc.

greetings
ps: i recall that about mplayer theres a very good how-to in the how-to section.

pcandpc
Posts: 40
Joined: 2007-04-18 05:29

making 56k modems work for fax

#63 Post by pcandpc »

Some howtos on making internal 56k modems work, using windows
drivers as in ndiswrapper for some wireless cards, would be great.

Also, making these modems to work for faxes would be nice.
Last edited by pcandpc on 2009-04-11 16:19, edited 1 time in total.

pcandpc
Posts: 40
Joined: 2007-04-18 05:29

making floppy tape drives work

#64 Post by pcandpc »

Making one of the older conner floppy tape drives to work would be wonderful.

User avatar
CDAT
Posts: 33
Joined: 2009-02-04 10:33
Location: Bridgman, MI
Contact:

#65 Post by CDAT »

Jalu,

I did something to my PII and had to reload a new box. I loaded Etch in about 3 hours from the net and it immediately started upgrading to Lenny. So I've been waiting for it to finish the upgrade to try you Icedax solution.

I wonder why Etch will load quickly and Lenny takes for ever?
Monkey Wrench, away!

Post Reply