Re: (solved) Re: how to re-install Windows?

2013-12-28 Thread Scott Ferguson
On 29/12/13 11:50, Long Wind wrote:
> Thank Scott Ferguson very much!!

No worries.
With hindsight I should have emphasized "check the disk with smartmon"
first.
And you probably don't need to repartition (or recreate the fs) - just
check with smartmon then (if smartmon doesn't declare imminent disaster)
run badblocks followed by fsck.vfat. If you remember where you are
patched up to with Windoof *and* you get a useful error message about
the files affected by the damaged sectors you can probably use Debian to
copy the correct files back (after you've finished re-writing the
badblocks list) and save yourself a full-reinstall of Windoof. Don't use
system files from the Windoof install CD without checking that they
haven't been updated by one of the patches/updates.

> 
> On 12/28/13, Scott Ferguson  wrote:
>> On 29/12/13 10:50, Long Wind wrote:
>>> I have wheezy and XP, with grub as boot manager
>>> now C: has bad sector and can't boot
>>> it seems I have to re-install XP
>>> grub will be gone after XP installation
>>>
>>> How can I re-install grub?
>>


Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52bf738f.4030...@gmail.com



(solved) Re: how to re-install Windows?

2013-12-28 Thread Long Wind
Thank Scott Ferguson very much!!

On 12/28/13, Scott Ferguson  wrote:
> On 29/12/13 10:50, Long Wind wrote:
>> I have wheezy and XP, with grub as boot manager
>> now C: has bad sector and can't boot
>> it seems I have to re-install XP
>> grub will be gone after XP installation
>>
>> How can I re-install grub?
>
>
> Use the Debian installation CD/DVD. Either choose Advanced... -> Rescue
> *or* choose Help then type "rescue" at the cli before hitting Enter.
>
> At the partitioning section select the same partitions you previously
> installed to but *don't* change any settings for them (mount location,
> file system, or format).
>
> Next choose Install GRUB from the install menu. os-prober will detect
> the Windoof install and add it to GRUB.
>
>>
>> BTW which command can create FAT32 partition and check bad sectors so
>> that XP installation won't use them?
>>
>> Thanks!!!
>>
>>
>
>
> fdisk, cfdisk or parted can create the partition
> badblocks can check the disk for bad sectors
> fsck.vfat can check the filesystem for bad clusters
> mkfs.vfat can create the filesystem
> see man command for more detail.
>
> NOTES:-
> ;Windoof insists on being the first partition, Debian doesn't care.
> ;I'd run the following before doing *anything*:-
> # smartctl -s on -S on /dev/$yourDrive
>
> if you get errors run:-
> # smartctl -d TYPE -i /dev/sda
> (TYPE is ata, scsi, or sat)
>
>
> if you had to use -d TYPE for the previous command use it in the
> following also:-
> # smartctl -H /dev/$yourDrive
>
> if you don't get the following do an immediate backup before filing the
> drive in the big round cabinet:-
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
>
>
> Kind regards
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/52bf6ca1.7000...@gmail.com
>
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cab-gxzcrf77mxc9fksn7sbjy3ygb_by-6a8c9lziy9ohac_...@mail.gmail.com



Re: how to re-install Windows?

2013-12-28 Thread Scott Ferguson
On 29/12/13 10:50, Long Wind wrote:
> I have wheezy and XP, with grub as boot manager
> now C: has bad sector and can't boot
> it seems I have to re-install XP
> grub will be gone after XP installation
> 
> How can I re-install grub?


Use the Debian installation CD/DVD. Either choose Advanced... -> Rescue
*or* choose Help then type "rescue" at the cli before hitting Enter.

At the partitioning section select the same partitions you previously
installed to but *don't* change any settings for them (mount location,
file system, or format).

Next choose Install GRUB from the install menu. os-prober will detect
the Windoof install and add it to GRUB.

> 
> BTW which command can create FAT32 partition and check bad sectors so
> that XP installation won't use them?
> 
> Thanks!!!
> 
> 


fdisk, cfdisk or parted can create the partition
badblocks can check the disk for bad sectors
fsck.vfat can check the filesystem for bad clusters
mkfs.vfat can create the filesystem
see man command for more detail.

NOTES:-
;Windoof insists on being the first partition, Debian doesn't care.
;I'd run the following before doing *anything*:-
# smartctl -s on -S on /dev/$yourDrive

if you get errors run:-
# smartctl -d TYPE -i /dev/sda
(TYPE is ata, scsi, or sat)


if you had to use -d TYPE for the previous command use it in the
following also:-
# smartctl -H /dev/$yourDrive

if you don't get the following do an immediate backup before filing the
drive in the big round cabinet:-
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED


Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52bf6ca1.7000...@gmail.com



how to re-install Windows?

2013-12-28 Thread Long Wind
I have wheezy and XP, with grub as boot manager
now C: has bad sector and can't boot
it seems I have to re-install XP
grub will be gone after XP installation

How can I re-install grub?

BTW which command can create FAT32 partition and check bad sectors so
that XP installation won't use them?

Thanks!!!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cab-gxzddyi0egba2tafdyumnkmd8o6kikjn_wmtmtpqqpnt...@mail.gmail.com