RE: installed ATA RAID, now cannot boot - get mountroot prompt

2004-08-25 Thread LiQuiD
I'm by no means an expert, and thus the reason for my "crude and
unscientific" solution that I'm proposing

Seeing as you now know what it'll turn into upon adding this RAID card
to your system, why don't you try the "crude" method of undoing
everything, booting successfully, and then editing /etc/fstab
accordingly just prior to shutting it back down to allow for a
successful boot once you put the new hardware back in?

The link to the FAQ mentioned below won't work for this scenario IMO
because his /etc/fstab is currently inaccurate.  Merely typing mount /
would still generate an error.  You could however type mount /dev/da0s1e
/ perhaps to get what you want though.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Lowell Gilbert
> Sent: Wednesday, August 25, 2004 12:15 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: installed ATA RAID, now cannot boot - get mountroot
prompt
> 
> "DA Forsyth" <[EMAIL PROTECTED]> writes:
> 
> > I'm searching the web for answers on this too, but so far nothing
> > useful.  hard to know what question to ask the search engines!
> 
> "I made a mistake in rc.conf, or another startup file, and now I
> cannot edit it because the filesystem is read-only. What should I do?"
>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-
> READONLY
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: installed ATA RAID, now cannot boot - get mountroot prompt

2004-08-25 Thread Lowell Gilbert
"DA Forsyth" <[EMAIL PROTECTED]> writes:

> I'm searching the web for answers on this too, but so far nothing 
> useful.  hard to know what question to ask the search engines!

"I made a mistake in rc.conf, or another startup file, and now I
cannot edit it because the filesystem is read-only. What should I do?"
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-READONLY
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: installed ATA RAID, now cannot boot - get mountroot prompt

2004-08-25 Thread mailist
Try this.  Get to the shell prompt and run:

ed /etc/fstab
1,$s/ad0/da0/
w
q

Then reboot the system.



On Wednesday 25 August 2004 12:53 pm, DA Forsyth wrote:
> Hiya all
>
> I'm searching the web for answers on this too, but so far nothing
> useful.  hard to know what question to ask the search engines!
>
> anyhow, the situation:
> I installed 5.2.1-R some time back as a start to making a new server.
> I used a 40 and an 80 Gb IDE drive plugged into the motherboard
> Now I've got an Adaptec 2400a IDE RAID card and have installed it.
> I created to raid 1 packs (2x40 and 2x80) and behold it starts to
> boot, finds all the drives etc, no problems,
> but then
> it cannot find root as root WAS on /dev/ad0s1a
> and is now on /dev/da0s1a
> I get a
>mountroot>
> prompt and I type
>ufs:/dev/da0s1a
> and it starts to boot but obviously gets a lot of errors because
> /etc/fstab contains the old drives names.
>
> I eventually get a shell but cannot now edit fstab because only root
> has mounted and all the editors are 'somewhere unmounted'
>
> now I'm lost.  how to do edit fstab to get it to mount the
> partitions?  doubly lost because I know I can mount them manually but
> don't know the parameters for 'mount' and , yes, 'man' won't work
> either.  yes, I'm still new at this BSD thing please help anyway.
>
>
> --
>DA Fo rsythNetwork Supervisor
> Principal Technical Officer  -- Institute for Water Research
> http://www.ru.ac.za/institutes/iwr/
>
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: installed ATA RAID, now cannot boot - get mountroot prompt

2004-08-25 Thread mailist
You could try using the ed editor which should be located on the root 
partition for just this reason.  Or, manually mount the usr partition when 
you get to the shell prompt so you have access to other editors such as vi.  
Hopefully you know what partition the usr file system is on (ie da0s1e) and 
can then use:  mount /dev/da0s1e /usr



On Wednesday 25 August 2004 12:53 pm, DA Forsyth wrote:
> Hiya all
>
> I'm searching the web for answers on this too, but so far nothing
> useful.  hard to know what question to ask the search engines!
>
> anyhow, the situation:
> I installed 5.2.1-R some time back as a start to making a new server.
> I used a 40 and an 80 Gb IDE drive plugged into the motherboard
> Now I've got an Adaptec 2400a IDE RAID card and have installed it.
> I created to raid 1 packs (2x40 and 2x80) and behold it starts to
> boot, finds all the drives etc, no problems,
> but then
> it cannot find root as root WAS on /dev/ad0s1a
> and is now on /dev/da0s1a
> I get a
>mountroot>
> prompt and I type
>ufs:/dev/da0s1a
> and it starts to boot but obviously gets a lot of errors because
> /etc/fstab contains the old drives names.
>
> I eventually get a shell but cannot now edit fstab because only root
> has mounted and all the editors are 'somewhere unmounted'
>
> now I'm lost.  how to do edit fstab to get it to mount the
> partitions?  doubly lost because I know I can mount them manually but
> don't know the parameters for 'mount' and , yes, 'man' won't work
> either.  yes, I'm still new at this BSD thing please help anyway.
>
>
> --
>DA Fo rsythNetwork Supervisor
> Principal Technical Officer  -- Institute for Water Research
> http://www.ru.ac.za/institutes/iwr/
>
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


installed ATA RAID, now cannot boot - get mountroot prompt

2004-08-25 Thread DA Forsyth
Hiya all

I'm searching the web for answers on this too, but so far nothing 
useful.  hard to know what question to ask the search engines!

anyhow, the situation:
I installed 5.2.1-R some time back as a start to making a new server.
I used a 40 and an 80 Gb IDE drive plugged into the motherboard
Now I've got an Adaptec 2400a IDE RAID card and have installed it.
I created to raid 1 packs (2x40 and 2x80) and behold it starts to 
boot, finds all the drives etc, no problems, 
but then
it cannot find root as root WAS on /dev/ad0s1a
and is now on /dev/da0s1a
I get a 
   mountroot>
prompt and I type
   ufs:/dev/da0s1a
and it starts to boot but obviously gets a lot of errors because 
/etc/fstab contains the old drives names.

I eventually get a shell but cannot now edit fstab because only root 
has mounted and all the editors are 'somewhere unmounted'

now I'm lost.  how to do edit fstab to get it to mount the 
partitions?  doubly lost because I know I can mount them manually but 
don't know the parameters for 'mount' and , yes, 'man' won't work 
either.  yes, I'm still new at this BSD thing please help anyway.


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer  -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"