Complete.Org: Mailing Lists: Archives: discussion: June 1999:
Re: [aclug-L] system problems
Home

Re: [aclug-L] system problems

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: Re: [aclug-L] system problems
From: Jeff <schaller@xxxxxxxxxxxxx>
Date: Mon, 14 Jun 1999 11:54:28 -0500 (CDT)
Reply-to: aclug-L@xxxxxxxxxxxx

On Mon, 14 Jun 1999 Todd_Lundstedt@xxxxxxxxxxxxxxx wrote:

> is there a Linux util I could stick on a floppy (complete with enuf
> stuff to boot) and repartition her drive?  I have a working RH 5.2
> system available to me (and a RH5.1 boxed set). Instructions on how to
> setup the boot/util disk would be appreciated.

1. dd if=/dev/zero of=fsfile bs=1k count=3000
2. mke2fs -i 2000 -m 0 fsfile
3. mount -o loop fsfile mount_point
4. cd mount_point
5. mkdir bin lib etc
6. Read /usr/doc/HOWTO/Bootdisk-HOWTO for the files you need
6a. Don't forget to run chroot mount_point /sbin/ldconfig
    after copying all your libraries O:)
7. include /bin/dd and /dev/zero
8. umount fsfile; gzip -9 fsfile
9. dd if=/boot/zImage of=/dev/fd0 bs=1k
   (note XX+YY records out line)
10. rdev /dev/fd0 /dev/fd0
11. rdev -R /dev/fd0 0
12. rdev -r /dev/fd0 2^14+XX+YY (16,000 something)
13. dd if=fsfile.gz of=/dev/fd0 bs=1k seek=XX+YY
14. move write-protect tab on floppy
15. boot old windows system with it
16. dd if=/dev/zero of=/dev/hda count=50
That oughtta do it :)

Surely a DOS bootdisk and some option to fdisk would clear it up, though?

-jeff
-- 
"It's said that if you are going to college because you're trying to get a
job, or even a particular degree, you're going for the wrong reason."
--Tom Christiansen, in an Amazon.com interview



[Prev in Thread] Current Thread [Next in Thread]