LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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


Closed Thread
  Search this Thread
Old 08-29-2007, 08:31 PM   #1
malangbaba
LQ Newbie
 
Registered: Aug 2007
Posts: 11

Rep: Reputation: 0
How to make HD bootable?


So I am installing Puppy on an old Compaq M300 laptop, which has no CD or floppy.

So I took out the hard drive, put it into a USB enclosure and installed Puppy from my desktop.

When I put the HD back into the laptop, it wont boot. Puppy offers to create a boot floppy, but I cant use that option. Is there a way to set the hard drive to boot itself?

(I am newbie to Linux so bear with me)

Would it make a difference if I unplugged my desktop HD, which would make the USB/laptop HD to be an "a" partition?
 
Old 08-29-2007, 08:36 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
Old 08-29-2007, 08:48 PM   #3
malangbaba
LQ Newbie
 
Registered: Aug 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Could you please close the other one instead?

I dont think its a distro issue, and this place will get more traffic.

thanks
 
Old 08-30-2007, 06:06 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
What boot manager have you installed on the drive? Lilo or grub? You need a boot manager on the drive.

When you did the install was this the only drive connected to the controller or was a secondary? This affects how the boot process is configured in /etc/fstab.
 
Old 08-30-2007, 07:21 AM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Unplugging your desktop hd and setting the bios boot to USB and installing the boot manager would be the safest way.
 
Old 08-30-2007, 07:30 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
To make the drive bootable, there must be boot code (eg GRUB) in the MBR. I am familiar only with GRUB. When GRUB gets installed to the MBR, it is "hard-coded" to point to the /boot directory where it will find its stage files, config file, etc.


If you install GRUB using the shell, the commands are:

grub...............starts the GRUB shell
root (hdX,Y).......tells GRUB the partition where it will find /boot
setup (hdZ)........installs GRUB in the MBR of disk Z

These parameters need to be as they will appear when the disk is put in the new machine. For example, suppose that Linux (/boot) is on the first partition of the drive, and there is only one drive in the new (target) system. The commands would be:

grub
root (hd0,0)
setup (hd0)
 
  


Closed Thread


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
How to make HD bootable? malangbaba Puppy 2 08-30-2007 02:38 PM
How to make a bootable Linux CD depam Linux - Software 3 07-07-2006 04:24 AM
How to make a bootable floppy? iqbala Mandriva 3 10-17-2005 03:59 AM
Make a partition bootable J_Szucs *BSD 1 05-07-2003 03:07 PM
Make bootable CD for Slack 9.0 kater Slackware 19 03-22-2003 04:59 PM

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

All times are GMT -5. The time now is 12:12 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