Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to set a root password in frugal?, How to edit RO Files?< Next Oldest | Next Newest >
Monkey 9 Offline





Group: Members
Posts: 25
Joined: Dec. 2005
Posted: Dec. 06 2005,17:11 QUOTE

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.
Back to top
Profile PM 
Monkey 9 Offline





Group: Members
Posts: 25
Joined: Dec. 2005
Posted: Dec. 06 2005,22:21 QUOTE

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.
Back to top
Profile PM 
1 replies since Dec. 06 2005,17:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: How to set a root password in frugal?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code