Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Subject: How to load Linux from GRUB?

Subject: How to load Linux from GRUB?

2005-11-05       - By Steven J. Yellin

 Back
Reply:     1     2     3     4     5     6     7     8     9  

   One other comment:  if all that has happened is you've destroyed your
partition table, leaving all data otherwise intact, it may be possible to
recover by using fdisk to reconstruct the partition table EXACTLY as it
was before.  But you may not be able to figure out the exact size and
number of your partitions before the problem, or other data may have been
wiped out, or maybe this method won't work for some other reason -- I've
never tried it and hope I'll never have to.  But just in case, the output
of "fdisk -l" on my computer is saved on another computer and the output
of "fdisk -l" on the other computer is saved on my computer.

Steven Yellin

On Fri, 4 Nov 2005, peter wu wrote:

> Steven and Aaron,
>
> Thanks for your kind replies. I tried what you've
> suggested; however, I am afraid it's really screwed up
> (unless I am doing something wrong). While trying to
> run Rescue mode by pressing CONTINUE, I get the
> following msg:
>
> You don't have any Linux partition. Press return to
> get a shell. The system will reboot automatically when
> you exit from the shell.
>
> Then I get this msg followed by a promt:
>
> When finished please exit from the shell and your
> system will reboot.
> sh-3.00#
>
> At the shell promt, I tried the following:
>
> sh-3.00# ls
> sh-3.00# cd mnt
> sh-3.00# ls
> runtime source
>
> I can somehow get to mnt directory, but there are only
> two directories, and there is no sysimage directory.
>
> Am I missing something, or am I truely hosed? Do I
> need to format the entire hard drive and reinstall?
>
> Thank you for your help, in advance.
>
> --peter
>
>
>
> --- akonstam@(protected) wrote:
>
> > On Thu, Nov 03, 2005 at 04:59:36PM -0800, peter wu
> > wrote:
> > > Hi, all,
> > >
> > > I had a dual-boot (Windows XP on NTFS and Linux),
> > but
> > > I wanted to partition the C: drive where Windows
> > XP
> > > was installed. I used Partition Magic to first
> > resize
> > > C: drive to a smaller one, and then create a new
> > > partition with a letter G. However, somehow,
> > Partition
> > > Magic screwed up, now I can't seem to boot to
> > Linux,
> > > whereas I can still boot to Windows from GRUB by
> > the
> > > following:
> > >
> > > GRUB> rootnoverify (hd0,1)
> > > GRUB> chainloader +1
> > > GRUB> boot
> > >
> > > I tried to boot to Linux by doing the following:
> > >
> > > GRUB> root (hd0,9)
> > > GRUB> kernel / <tab>
> > > GRUB> kernel /boot <tab>
> > >
> > > But it doesn't seem to find vmlinuz... in /boot.
> > When
> > > I do "kernel / <tab>" it gives the "possible"
> > > commands. I  am wondering if there is any command
> > > (possibly kernel command?) which lists the entire
> > > directory (like ls in Unix or dir in DOS).
> > >
> > > I looked at PartitionMagic, but depressingly, all
> > > partitions for Linux seem to have zero unused
> > space,
> > > i.e., everything appears to be used. (e.g., size
> > MB:
> > > 27,956.0; Used MB: 27,956.0 and Unused MB: 0.0)
> > >
> > > Can I somehow recover from this? Should I reformat
> > > everything, I am afraid?
> > >
> > > Thanks in advance.
> > >
> > > --peter
> >
> > --
> > Well that depends on how shrewed up the partition
> > table really is. I
> > would boot linux rescue, chroot to /mnt/sysimage
> > which should be your
> > / Linux partition, then do a fdisk.
> > fdisk can re-establish the partition table. Then if
> > that works create
> > a grub.conf, do a grub-install and you should be in
> > business.
> >
> =======================================================================
> > Fortune's Real-Life Courtroom Quote #7:
> >
> > Q:  What happened then?
> > A:  He told me, he says, "I have to kill you because
> > you can identify me."
> > Q:  Did he kill you?
> > A:  No.
> > -- ---- ---- ---- ---- ---- ---- ---- -----
> > Aaron Konstam
> > Computer Science
> > Trinity University
> > telephone: (210)-999-7484
> >
> > --
> > Shrike-list mailing list
> > Shrike-list@(protected)
> > https://www.redhat.com/mailman/listinfo/shrike-list
> >
>
>
>
>
> __ ____ ____ ____ ____ ____ ______
> Start your day with Yahoo! - Make it your home page!
> http://www.yahoo.com/r/hs
>
> --
> Shrike-list mailing list
> Shrike-list@(protected)
> https://www.redhat.com/mailman/listinfo/shrike-list
>

--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list