LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-22-2003, 10:20 AM   #1
florinel
LQ Newbie
 
Registered: Aug 2003
Distribution: mdk 8.2
Posts: 12

Rep: Reputation: 0
Disc not bootable


"Disc not bootable' is the message i get while trying to boot off a partition i formatted from linux as Dos partition. How do i make that partition bootable into dos. I dont have a floppy drive..so bootup disks dont help. ALl i need to do has to be done from linux.
 
Old 08-22-2003, 10:30 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
ITs usually part of the partition software you use.

on parted:
Code:
parted /dev/hda
set 1 boot true
Thats if its the first partition on the primary slave.
 
Old 08-22-2003, 10:44 AM   #3
florinel
LQ Newbie
 
Registered: Aug 2003
Distribution: mdk 8.2
Posts: 12

Original Poster
Rep: Reputation: 0
;)

please use some user friendliness and tell me in detail what i need to type where...

Sorry, im a newb

Thanx again
 
Old 08-22-2003, 10:51 AM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Okay you need to get into a console.

Press ctrl-alt-f1.
Then Login in as root. Now type the following
Code:
parted /dev/hda
set 1 boot on
quit
exit
press ctrl-alt-f7 to return to X. (Thats IF hda1 is the dos partition.)

(also you may note I've changed true too on, my bad.)
 
Old 08-22-2003, 11:06 AM   #5
florinel
LQ Newbie
 
Registered: Aug 2003
Distribution: mdk 8.2
Posts: 12

Original Poster
Rep: Reputation: 0
parted?

parted /dev/hda

command not found

however the set command executed alright..
Is there anything wrong?
 
Old 08-22-2003, 12:02 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Try installing parted for your system, or someome might be able to tell you how to do it with a diffrent program.
 
Old 08-22-2003, 12:05 PM   #7
florinel
LQ Newbie
 
Registered: Aug 2003
Distribution: mdk 8.2
Posts: 12

Original Poster
Rep: Reputation: 0
the error message

tried rebooting into hda1 and it shows the following message again,

root (hd0,0)
Filesystem type is fat partition type 0x4

makeactive
chainloader +1

This is not a bootable disk. Please insert a bootable floppy and press any key to try again.

Any idea what else needs to be changed to make this disk bootable?
 
Old 08-22-2003, 12:11 PM   #8
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Change root too rootnoverify, for a start.

DOS is installed? Its not just a blank DOS partition?
 
Old 08-22-2003, 12:17 PM   #9
florinel
LQ Newbie
 
Registered: Aug 2003
Distribution: mdk 8.2
Posts: 12

Original Poster
Rep: Reputation: 0
how do i change root to rootnoverify?

and dos is not installed...im trying to do that...this is just a blank dos partition
 
Old 08-22-2003, 12:24 PM   #10
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
look in /boot/grub/menu.lst

Go down the list to look for root (hd0, 0) followed by makeactive and chainloader +1, change root too rootnoverify.

You can't boot an empty partition by the way. You need a OS to boot.
If you've got a dos disk you can boot using that to install your dos.

But you'll need to reinstall grub, as it will replace the MBR. so have a linux boot disk handy.
 
Old 08-22-2003, 01:30 PM   #11
florinel
LQ Newbie
 
Registered: Aug 2003
Distribution: mdk 8.2
Posts: 12

Original Poster
Rep: Reputation: 0
I installed parted and I after i ran the commands you gave me, I didn't get anymore root notifications. Now it plainly says that the disk isn't bootable.

I dont have a Dos installation disk. I dont even have a floppy drive. I do have a windows 98 startup files on some cd..can i simply copy files off this cd into hda1 to make it bootable? Or can I dare ask if something like sys d: c: can be done from linux. ( asystem transfer off a cd into an empty partition)

The cd doesn't boot for some reason on its own. Can i do anything in this situation?

Thanx for all the help so far.

p.s. I use LILO now instead of grub.

Last edited by florinel; 08-22-2003 at 01:34 PM.
 
Old 08-22-2003, 03:07 PM   #12
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Have you reset the boot order in your bios. So the CD Boots?
 
Old 08-22-2003, 05:16 PM   #13
florinel
LQ Newbie
 
Registered: Aug 2003
Distribution: mdk 8.2
Posts: 12

Original Poster
Rep: Reputation: 0
boot order is ok..that's how i installed my linux, booting off a CD. I just don't think i have a bootable win cd.... just cd's that i could use to instal the Win OS.

Lemme ask this again:

I do have a windows 98 startup files on some cd..can i simply copy files off this cd into hda1 to make it bootable? Or can I dare ask if something like sys d: c: can be done from linux. ( a system transfer off a cd into an empty partition)

thanx
 
Old 08-22-2003, 11:33 PM   #14
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
sys d: c: won't work in linux-- for one, because *nix doesn't use drive letters, all drives are under one directory tree starting at /

To answer the first question, you shouldbe able to copy from CD to that partition with linux, and if you have what's required to boot windows/dos, it'll work.

I ghosted a harddrive this way very easily. (Win98)

you'll find this command handy:

Code:
cp -r <whatever... could be directory or wildcard such as *>
the -r switch makes it work recursively, so it'll copy everything within a directory if you use the * wildcard.

Good luck

-Shade
 
Old 08-23-2003, 02:12 AM   #15
florinel
LQ Newbie
 
Registered: Aug 2003
Distribution: mdk 8.2
Posts: 12

Original Poster
Rep: Reputation: 0
i know there's no drive letters. I gave the sys d: c: example to help me in asking if there's a similar concept in windows. I found something, the program parted which has a utility (cp) that lets u copy a filesystem from a device or source unto a partition. I was not successful in copying anything from my Win 98 Startup CD..getting 'Wrong Label' errors.

Thanx anyways
still tryin
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble making Bootable Linux Disc shueib Linux - Newbie 2 10-12-2005 09:22 AM
bootable floppy disc. akihandyman Linux - Hardware 4 02-19-2005 07:53 PM
k3b hangs when trying to burn dvd+rw disc but not cd rw disc laiboonh Slackware 0 11-06-2004 11:22 AM
Video-DVD disc is also bootable live Linux tarantino2517 Linux - Software 0 10-16-2004 02:36 PM
Bootable live disc ?? Locksmiff Slackware 3 05-14-2002 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:14 PM.

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
Open Source Consulting | Domain Registration