Re: restore computer and reinstall grub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Antonio Olivares wrote:
Dear Kind Folks,
   I was experimenting with an external USB hard drive
and installed fedora 4 on it.  I followed the advice
given on some emails from this list.  I must have
screwed up somewhere.  Upon running installation I
selected linux expert nohd and ran diskdrake with
/boot partition=100MB, linux-swap partition=768MB
2xRAM, and / partition rest of space.  I selected all
packages and made a complete install.  The internel
disk which original fedora was installed had several
partitions and /boot/grub/grub.conf had root(hd0,2)
and when I tried to boot it leaving USB connected it
gave (hd1,0).

I disconnected the USB drive and tried again.


Upon reboot, I encounter the following message

root(hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel vmlinux-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb
quiet
   [Linux-bzImage, setup=0x1e00, size=0x18e473]
initrd /initrd-2.6.11-1.1369_FC4.img
   [Linux-initrd @ 0x18de1f000c, 0x1a0e53 bytes]

Uncompressing Linux... Ok, booting the kernel.
Red Hat Nash version 4.2.15 starting
  Reading all physical volumes this may take a while
  Found volume group "VolGroup00" using metadata type
lvm2
  2 logical volume(s) in Volume Group "VolumeGroup00"
now active

mkrootdev:  label / not found
mount:  error 2 mounting ext3
ERROR opening /dev/console!!!!:2
error dup2'ing fd of 0 to 0
error dup2'ing fd of 0 to 1
error dup2'ing fd of 0 to 2
switchroot:  mount failed: 22
kernel panic - not syncing:  Attempted to kill init!

I popped in install cd and ran linux rescue to restore
grub file using # chroot /mnt/sysimage but could not remember how to restore grub to boot
original fedora installed on hard drive.

Advice, suggestions, and comments are greatly
appreciated.

Also please give advice to make USB hard drive boot on
its own to run on different computers taking the
system wherever I go.  I messed up somewhere and would
like to rectify.
Thanks in advance,

Antonio

Without the USB drive connected, shouldn't your grub be booting hd0? - not hd1?

Try editing the grub line to boot /dev/hd0 instead.

In my opinion, I most definitely would have disconnected the internal drive before doing all this to make sure nothing could get written to it.

I know this does not help now.

Regards,
Ed.
begin:vcard
fn:Edward Dekkers
n:Dekkers;Edward
org:Triple D Computer Services Pty. Ltd.;Management
adr:;;822 Rowley Road;Oakford;WA;6121;Australia
email;internet:edward@xxxxxxxxxxxxxxxxxxxx
title:Mr.
tel;work:(08) 9397-1040
tel;fax:(08) 9397-0749
tel;home:(08) 9397-0547
tel;cell:0407083195
x-mozilla-html:FALSE
url:http://www.iinet.net.au
version:2.1
end:vcard


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux