Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-21-2003, 10:02 PM
|
#1
|
Member
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72
Rep:
|
problem grub :P
i just reinstalled windows and it changed the boot section and got rid of grub. How can i get grub back so i can use linux? Windows didnt modify the linux hdd tho
|
|
|
07-21-2003, 11:13 PM
|
#2
|
LQ Newbie
Registered: Jul 2003
Posts: 3
Rep:
|
Try to reboot your station with a linux boot disk.
From there you should be able to access your linux partition and re-enable grub for next time
|
|
|
07-22-2003, 02:03 AM
|
#3
|
Member
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421
Rep:
|
Installing GRUB into MBR
After booting into Linux successfully, it is a good idea to make a GRUB bootdisk for similar situation in the future. This link may help you.
http://www.gnu.org/manual/grub/html_...l#Installation
Especially read the "Creating GRUB boot floppy" and "Installing GRUB natively" section.
Hope this may help.
|
|
|
07-22-2003, 01:09 PM
|
#4
|
Member
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72
Original Poster
Rep:
|
ok does any 1 have an already made boot disk? I cant access linux to make 1
|
|
|
07-22-2003, 01:16 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
Download one in windows and copy it to floppy using rawrite.
|
|
|
07-22-2003, 07:18 PM
|
#6
|
Member
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72
Original Poster
Rep:
|
where can i download 1?
|
|
|
07-22-2003, 10:21 PM
|
#7
|
Member
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421
Rep:
|
Well, I have an already made GRUB boot disk but I am not familiar with
disk manipulation so I don't know how can I send the disk to you.
I created the disk using the following commands:
(quoted from GRUB documentation)
# cd /usr/share/grub/i386-pc
# dd if=stage1 of=/dev/fd0 bs=512 count=1
1+0 records in
1+0 records out
# dd if=stage2 of=/dev/fd0 bs=512 seek=1
153+1 records in
153+1 records out
Can I just copy an image from a floppy and write it into the others to make
copies of it, like the way I make ISO images from CDROM? If so, what
utilities should I use? And how?
Btw, I've tried to mount the floppy but it requires me to specify a filesystem.
But I don't know which filesystem the disk is made of. Is there a way to easily
check the filesystem of a device in Linux?
Last edited by koyi; 07-22-2003 at 10:22 PM.
|
|
|
07-22-2003, 10:45 PM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
koyi
when you come to the GRUB> prompt, enter
root (hd<press tab>,<press tab>)
tab after hd gives you a list of disks. Select the appropriate disk where Linux is installed
tab after the comma will give you a list of partitions. Select your linux boot partition.
now enter
configfile <press tab>
here, tab will give you a list of files
you should be able to type
configfile grub/grub.conf
boot
to boot into linux.
For Windows
rootnoverify (hdx,n)
chainloader +1
where x is the disk and n is the partition where Win resides.
|
|
|
07-23-2003, 06:44 AM
|
#9
|
Member
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421
Rep:
|
ppuru,
I am sorry but I think you misunderstood my question. I am not having problems with booting my linux. I just want to know if
1) I can make copy of a floppy disk by creating an image file from it.
2) Is there a way to determine the type of filesystem of a partition easily.
Thanks for your answer anyway. At least now I know that I can <press tab> to display possible list of candidates 
|
|
|
07-23-2003, 02:07 PM
|
#10
|
Member
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72
Original Poster
Rep:
|
there should be away u could copy the files from a floppy
Copy all the files, zip them and upload them to a server
I think that should work
|
|
|
07-23-2003, 02:14 PM
|
#11
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
koyi,
Try this:
In linux, type cp /dev/fd0 /myimage.img at a prompt to make an image.
|
|
|
07-23-2003, 03:46 PM
|
#13
|
Member
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72
Original Poster
Rep:
|
i see lots of files but which one of those files would work w/ grub / redhat?
|
|
|
07-23-2003, 03:54 PM
|
#14
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
The readme describes them.
When you write one to a disk with rawrite and boot it you'll get a prompt. In the prompt type:
mount root=/dev/<yourredhatpartition> ro
For Red Hat you may have to add some extra parameters
|
|
|
07-23-2003, 04:40 PM
|
#15
|
Member
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72
Original Poster
Rep:
|
im a newbie :P i dunno wut partition its on How can i just format my hdd and reinstall everything, i might end up putting XP on the linux hdd cuz i got a new pc
|
|
|
All times are GMT -5. The time now is 12:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|