I hadn�t expressed myself correctly!!
What I did: removed the CD-ROM and changed the HD, so it didn't boot up... Now
I undestood waht you said... I had to put a small HD in the place of the CD-ROM
and don�t make any changes... right?
The drive where I have enough free space for a backup is my /dev/hda... it's a
40G IDE.
About boot floppies... can I make a boot floppy and edit the fstab in the floppy
disk? I even tried to do this, but when I do "cd /mnt/floppy" there is an error
message like "couldn't read media"... it�s because /mnt/floppy uses the ms-dos
file system mount??? How to mount and read a lilo boot floppy??
And that message :
> > ========== begin error message =========================
> >
> > VFS Can not open root device "341" or 03:41
> > Please append a correct "root" boot option
> >
> > ============ end error message =========================
what is that "root device "341" or 03:41" ??? I don't have any reference in
fstab or lilo.conf to a device 341...
Sorry if I'm not very clear, I'm Brazilian and sometimes my English is faulty
:-)
TIA
orlando
Rusty Carruth wrote:
>
> "Jose Orlando T. Ribeiro" <[EMAIL PROTECTED]> wrote:
> >
> > ...
> > > remove the cdrom and install any old ide drive as hdc. (you COULD simply move
>the cdrom to
> > > where its going to end up, but that adds one more change that I wanted
>to avoid)
> > > boot up - everything SHOULD still work.
> >
> > It doesn�t work... I tried to boot without the CD-ROM, but it hanged the same
> > way... after the error message (...Please append a correct "root" boot
> > option...) the machine hangs up... I was thinking about changing the fstab
> > BEFORE changing the drives... but I fear that I can end with a system that
> > doesn�t boot anyway...
>
> So if you simply remove the cd from the current config, and make no other changes,
> you cannot boot?
>
> Yikes. Um. Hmm. well, if that's true then I'll have to say I'll have to let
> someone else figure it out ;-)
>
> You also mentioned that you had enough space to make a backup on your disk -
> I assume you mean the current hdb? If that's so, then make a new partition
> on that disk to hold the current /, copy everything over to there, edit THAT
> copy of /etc/fstab to point to /dev/hdc, halt, move everything around (including
> the cd), boot up saying 'linux root=/dev/hd<whatever_partition_that_new_one_is',
> then fix /etc/lilo.conf, run lilo, and try a reboot....
>
> Much easier, I'd say. (and recovery is simply move the drives back and reboot,
> assuming you've not hosed lilo... wait ! You'll definately have to hack on lilo.conf
> (i.e. remove /dev/hdb) to make this work! Make yourself a boot disk for when its at
> /dev/hdb so that you can always move back to having hdb in case somethin messes up
> in the above!)
>
> rc
>
> rc
>
> Rusty Carruth Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
> Voice: (480) 345-3621 SnailMail: Schlumberger ATE
> FAX: (480) 345-8793 7855 S. River Parkway, Suite 116
> Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825
> ICBM: 33 20' 44"N 111 53' 47"W
--
,~~v~~, ,~~v~~,
,'. .', ,'. .',
=== + === === + ===
/ ~ \ / ~ \
/\_m m_/\ /\_m m_/\
.\ +----------------------+ /.
/ ! [EMAIL PROTECTED] ! \
/ +----------------------+ \
`\m/ \m/' `\m/ \m/'