HOWTO Requests

Share your own howto's etc. Not for support questions!

Postby Hadret » 2009-01-14 09:21

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 ;]
#404378
User avatar
Hadret
 
Posts: 354
Joined: 2007-07-19 13:04
Location: Wroclaw, Poland

Postby JustDebian » 2009-01-16 02:16

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?
JustDebian
 
Posts: 14
Joined: 2007-06-26 17:04

Postby infinitycircuit » 2009-01-16 02:56

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.
infinitycircuit
 
Posts: 1137
Joined: 2007-07-24 03:31
Location: California

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

Postby jalu » 2009-01-17 22:18

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)
viewtopic.php?t=161&highlight=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.
jalu
 
Posts: 1397
Joined: 2008-11-19 23:26

Postby Hadret » 2009-01-18 11:53

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? (:
#404378
User avatar
Hadret
 
Posts: 354
Joined: 2007-07-19 13:04
Location: Wroclaw, Poland

Postby Hadret » 2009-01-18 12:57

infinitycircuit wrote:I am working on this myself.


This might be helpful: http://elliotli.blogspot.com/2008/12/using-ext4-and-2628-kernel-on-my-new.html (comments)
#404378
User avatar
Hadret
 
Posts: 354
Joined: 2007-07-19 13:04
Location: Wroclaw, Poland

Postby infinitycircuit » 2009-01-18 17:58

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.
infinitycircuit
 
Posts: 1137
Joined: 2007-07-24 03:31
Location: California

Postby bugsbunny » 2009-01-19 05:33

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.
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Postby startgame412 » 2009-01-19 19:07

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.
startgame412
 
Posts: 60
Joined: 2008-04-21 16:36

Postby CAFFN » 2009-02-06 16:02

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 :)
CAFFN
 
Posts: 8
Joined: 2007-07-18 10:37

Postby sossego » 2009-02-09 18:19

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
sossego
 
Posts: 1072
Joined: 2007-03-20 23:52

Postby Tadeas » 2009-02-12 18:44

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
Tadeas
 
Posts: 1017
Joined: 2008-09-22 09:11
Location: Prague

Postby Rolling Stone » 2009-02-21 19:23

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
Rolling Stone
 
Posts: 372
Joined: 2009-02-15 18:55
Location: Turku, Finland

Play an audio CD from the command line

Postby CDAT » 2009-04-02 04:27

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
CDAT
 
Posts: 33
Joined: 2009-02-04 10:33
Location: Bridgman, MI

Re: Play an audio CD from the command line

Postby debil » 2009-04-02 05:00

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
debil
 
Posts: 1338
Joined: 2008-05-11 08:55
Location: Mazes of Menace, surrounded by brown puddings

PreviousNext

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable