LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2004, 12:15 PM   #16
drcyber
Member
 
Registered: Mar 2003
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15

Ok. The output of fdisk -l /dev/hda is:

Disk /dev/hda: 40.0GB, 40060403712 bytes
16 heads, 63 sectors/track, 77622 cylinders
Units =cylinders of 1000 * 512 = 516096

Device Boot Start End Blocks ID System
/dev/hda1 * 1 52020 26218048+ c W95 FAT32 (LBA)
Partition 1 doesn't end on cylinder boundary
/dev/hda2 52224 76582 12276936 83 Linux
Partition 2 doesn't end on cylinder boundary
/dev/hda3 76583 77622 524160 f W95 Ext'd (LBA)
Partition 3 doesn't end on cylinder boundary
/dev/hda5 76583 77622 524128+ 82 Linux Swap

???
 
Old 09-01-2004, 12:50 PM   #17
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
maybe you've gotto type #mkswap /dev/hda5,
then: swapon -a

egag
 
Old 09-01-2004, 12:55 PM   #18
drcyber
Member
 
Registered: Mar 2003
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
I typed:
#mkswap /dev/hda5
And it says:
Setting up swapspace version 1, size = 536702 kB

When I type #swapon -a, doesn't says anything.

When I reboot, appears the same message of GRUB with the GRUB prompt. I think it doesn't work.

If I go to the command line and type again: #fdisk -l /dev/hda it shows the same thing:

Disk /dev/hda: 40.0GB, 40060403712 bytes
16 heads, 63 sectors/track, 77622 cylinders
Units =cylinders of 1000 * 512 = 516096

Device Boot Start End Blocks ID System
/dev/hda1 * 1 52020 26218048+ c W95 FAT32 (LBA)
Partition 1 doesn't end on cylinder boundary
/dev/hda2 52224 76582 12276936 83 Linux
Partition 2 doesn't end on cylinder boundary
/dev/hda3 76583 77622 524160 f W95 Ext'd (LBA)
Partition 3 doesn't end on cylinder boundary
/dev/hda5 76583 77622 524128+ 82 Linux Swap
 
Old 09-01-2004, 01:44 PM   #19
Enrico81
Newbie
 
Registered: Aug 2004
Location: Italy
Posts: 16

Rep: Reputation: 0
Quote:
Originally posted by drcyber
I typed:
#mkswap /dev/hda5
And it says:
Setting up swapspace version 1, size = 536702 kB

When I type #swapon -a, doesn't says anything.

When I reboot, appears the same message of GRUB with the GRUB prompt. I think it doesn't work.

If I go to the command line and type again: #fdisk -l /dev/hda it shows the same thing:

Disk /dev/hda: 40.0GB, 40060403712 bytes
16 heads, 63 sectors/track, 77622 cylinders
Units =cylinders of 1000 * 512 = 516096

Device Boot Start End Blocks ID System
/dev/hda1 * 1 52020 26218048+ c W95 FAT32 (LBA)
Partition 1 doesn't end on cylinder boundary
/dev/hda2 52224 76582 12276936 83 Linux
Partition 2 doesn't end on cylinder boundary
/dev/hda3 76583 77622 524160 f W95 Ext'd (LBA)
Partition 3 doesn't end on cylinder boundary
/dev/hda5 76583 77622 524128+ 82 Linux Swap

Now you must activate the swap partition "# swapon /dev/hd5" and add the partition to /etc/fstab if there isn't.
If the problems remains you must reinstall grub.
 
Old 09-01-2004, 01:56 PM   #20
drcyber
Member
 
Registered: Mar 2003
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
Nop... it doesn't work. Well... I typed fdisk /mbr and now I can access to Windows XP.

Im going to repair my partitions and reinstall GRUB.
Thanks for your help!
 
Old 11-08-2004, 04:56 PM   #21
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Rep: Reputation: 30
Hi, I am stuck with the same GRUB message: how did you get to the root command line?

I can't see the steps in the dialogue above.

EDIT: My panic is now over: I changed the boot options in my bios which got me away from that grub prompt to allow me to get on with my life.

Last edited by rrsc16954; 11-08-2004 at 06:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
accidently compiled qt without mt support- big deal? schatoor Linux - Software 1 01-24-2004 10:42 AM
what's the big deal with migrating to fedora from redhat 9.0? spyghost Fedora 2 01-01-2004 03:35 PM
Web Browsers, what's the big deal ? Robert0380 General 22 11-04-2003 08:38 AM
I was wondering why is letting ports open such a big deal? HGeneAnthony Linux - Security 4 06-27-2003 02:46 AM
Wheel Mice - What's the big deal? ryanstrayer Linux - Software 13 02-01-2002 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration