boot disks
Collins Richey
crichey
Wed Nov 9 00:57:13 PST 2005
On 08 Nov 2005 18:54:06 -0800, Robert Hemus <bobhemus at sisqtel.net> wrote:
> This is somewhat embarrassing. I was messing around and blew my
> (hd0,0). I have a boot disk for my LibraNet so I can get on line. I'm
> thinking I'll need to use a windoze rescue disk to boot the cdrom with a
> linux distribution to set up a new grub boot loader?? Or can I copy
> what to (hd0,0); /boot, /boot/grub/menu.lst, or?? Or can I copy the
> boot disk I have for LN to the MBR?
>
>
> On Tue, 2005-11-08 at 17:23, Matthew Carpenter wrote:
> > As much as I love ubuntu, I'm afraid I need some translation of your question.
> > Or perhaps a few more details. Boot disk?? From the install disk??
> >
> > You're talking a floppy disk? And you are wanting to make it with the
> > assistance of the install CD?
> >
> > What are your constraints? What purpose will this disk serve? Interactive
> > boot or main boot? If you are interested in an interactive boot disk, there
> > is a live CD and/or DVD if they are good enough.
> >
> > If you require a floppy, please detail more of your needs and constraints.
> >
> >
> > On Tuesday 01 November 2005 11:06 pm, Robert Hemus wrote:
> > > Folks, I apologize for asking this elementary question knowing I could
> > > find the answer with a little research, but I'm in a bind for time. It
> > > is beginnining to snow up high (5000'), and I have to finish pushing 2
> > > chunks of half-inch hardline co-ax down a 4' conduit 600+ feet an
> > > another day to finish the job, ends,hook-ups, etc. Soooo, How do I make
> > > a boot disk for an Ubuntu partition from the install disk? My grub is
> > > on that partition and I get the no disk to boot from or something
> > > similar when I boot up. I do have a boot disk for this LN 2.8.1.
> > > Thanks very much.
> > >
With almost any boot disk from Knoppix to the usual suspects, you can
do this. Whatever the boot disk, the method of getting into rescue
mode varies. With an RHEL or CentOS disk, it's 'linux rescue'. With
Knoppix, just let the system come up normally. Then
1. Mount your system (just the single partition unless you have a
separate boot partition, then mount the root partition first and then
mount the boot partition at /mnt/xxx/boot).
2. chroot /mnt/xxx
3. grub
root (hd0,?) partition number of your partition containing /boot - 1
setup (hd0)
quit
4. exit from chroot
5. Unmount everything
6. Reboot and enjoy.
--
Collins Richey
Debugging is twice as hard as writing the code ... If you write
the code as cleverly as possible, you are, by definition, not
smart enough to debug it.
-Brian Kernighan
More information about the Linux-users
mailing list