<reformatted unreadable message. sorry for inconvenience> > ----- Original Message ----- > From: "Manolis Tzanidakis" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, October 30, 2003 1:49 PM > Subject: Re: devfs and lvm > > [20031030] Benedict Verheyen <[EMAIL PROTECTED]> wrote: > >> Hi, > > Hello > >> currently my server (2.4.21) is running LVM. All partitions are on >> LVM except a boot partition. I would like to move to devfs. >> Any good documents or howto's out there that explain how to set >> this up. I understand that i will need to install devfsd and >> that i might have to change the root boot option i now specify >> for grub as root=3a00. >> Any other significant changes/difficulties? > > Just install a kernel with devfs (& mount devfs at boot) enabled. Note > that you won't need /dev/pts with devfs so u can disable it in kernel > config. Install devfsd & u' re done, no modification necessary. However > if you run grub & use update-grub, do: > > $ cd /boot/grub > $ mv device.map device.map.old > $ grub-install /dev/hdX (replace X with your drive) > $ update-grub > > --
It worked like a charm. I have put this into my grub configuration (maybe usefull for other people): title Debian GNU/Linux, 2.4.21.041103 root (hd0,0) kernel /vmlinuz-2.4.21.041103 root=3a00 vga=791 ramdisk=8192 devfs=mount initrd /initrd-lvm-2.4.21.gz savedefault boot I will test if i can't use root=/dev/main/lv_root instead of the hex numbers (3a00). I do not find any info on grub and the hex thingie. I do have some questions: 1. When i do "ls -la /dev" it's still filled with a lot of links. Do i have to remake the dir dev to start of with a clean version? 2. df returns all partitions as /dev/main/lv* except for the boot which is displayed as /dev/ide/host0/bus0/target0/lun0/part Why isn't this shown as /dev/hda1? It's set as /dev/hda1 in my fstab file. Thanks, Benedict -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]