Re: How to load Linux from GRUB?

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

 



On Fri, Nov 04, 2005 at 10:34:48PM -0800, 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
> 
Well that is bad. It means that you don't have a partition that can be
recognized as a Linux system, I guess your partitions are really hosed. 
> 
> --- akonstam@xxxxxxxxxxx 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@xxxxxxxxxx
> > 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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/shrike-list

-- 

=======================================================================
He who makes a beast of himself gets rid of the pain of being a man.
		-- Dr. Johnson
-------------------------------------------
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