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-04       - By akonstam@(protected)

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

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