Re: How to load Linux from GRUB?

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

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux