How to set a root password in frugal?Forum: HD Install Topic: How to set a root password in frugal? started by: Monkey 9 Posted by Monkey 9 on Dec. 06 2005,17:11
Hello again,If you don't mind, I want to know how to edit RO files, which belong to me in my Debian install. I have to put the boot entrances back into the grub, to get access to my Debian install, but I cannot edit these files... M9. Posted by Monkey 9 on Dec. 06 2005,22:21
Well than,For those who want to know how things can be worked out, here we go: To get into existing directories, or to setup an old grub, on has to be 'root' Therefore, the easiest thing to do is boot up a real knoppix live-CD, and before mounting the wanted partitions, FIRST set the privileges, by right-clicking>properties>permissions>writable. Than mount that partition. The real root can be accessed, but not altered, but: Using Conqueror>vieuw shell, one can go to the desired directory, and shell follows. type su. knoppix will go into root-modus without password. #[type] grub [return] (takes a while searching Bios devices...) (Remember that in grub 1=0, so MBR is on (hd0), if the grub you want is f.i on /hda7 or whatever, for grub that is (hd0,6)) when you choose the partition where your grub is on: /hda6/boot/grub/menu.lst you type, when grub has retuned with: #grub>[you type] root (hd0,5) [ret] filesystem type is (etc).., partitiontype (etc)....(etc=etcetera, not realy the original text!) and bash returns:#grub>[you type] setup (hd0) [ret] and thats it. Shut down Knoppix: ctrl+alt+del > reboot But now you have the original grub back, and DSL is not on it. Go into your known system, 'root-up' krusader, or another fm, or root editor and look in the /DSL/boot/grub/menu.lst copy the wanted start-up sequence, and paste it in the /hda1/boot/grub/menu.lst, below/above your other system, and modify that entrance, it has to look the same as the ones already there. It might be that you have to reboot a few times, to alter the file properly, before the entrance you made realy boots up DSL, but it will work. This way, you can add as many systems to your boot menu as you like. I hope there are people who didn't know this, so this thread can be helpfull for them.. Have fun, and take your time, hasta-lavista baby! M9. |