Re: [Unattended] /dev/dsk1 to /dev/sda1

"tovis" <[email protected]>
Newsgroups gmane.comp.windows.unattended.general
Message-ID <719096d7aac65daa513229e1fab99f14.squirrel@nasi>
Hi Martin!
I1m afraid that there is no option to set in unattended.txt to control
parted. All parted stuff (if I remember well) is int the "master" script
of the Linux boot disk (ISO or PXE).
Regards
  tovis
PS: The using of parted is not so clean for me, there is a some what
strange calculation for sizes. The result is generate a bunch of warnings
about using legacy SCSI ioctl interface (or some what). Pure possibilities
for choose. Some times partition magic complain about partition sizes, but
it's easy corrected. Summa-summorum it's work :)
I've used to be install windows on a clean disk, and after installing
Linux "by hand" - I've been established some what exotic configuration
with two XP + Debian, where the boot loader is lilo, and I hide one of the
windows partitions, actually not used.


> Thanks for reply,
> the problem was, that the partition with the 'old' windows was at the
> beginning of the hd. renumbering the partition had no effect, because
> the windows setup align it in the 'right' way.
> But when you use ntfsclone to put it on the second partition and modify
> the bootsector and the boot.ini as described here
> http://www.dominok.net/en/it/en.it.clonexp.html it works.
> After this you must run parted manually for the first partition (rm 1,
> mkpart primary fat32 0 80000).
>
> By the way: How to attend the parted commands to the unattended.txt and
> is there a variable like parted_confirm = 0 ?
>
>
>> Those are special (I think) situation, which (I think) are not target
>> of unattended.
> I think so too, but unattended let me the chance to make it the way i
> needed :-) .
>
>
> Thanks, Martin
>
>
> tovis schrieb:
>> Hi Martin!
>>
>> I'm again not clean what you trying to do. Do you have something
>> valuable
>> on secondary, not bootable partition? What is the reason to have so
>> exotic
>> partitioning scheme?
>> Usual windows installers try to come over the whole disk, exclude
>> situation with some old ms os like win98 or DOS. Those are special (I
>> think) situation, which (I think) are not target of unattended.
>>
>> Regards
>>   tovis
>>
>>
>>> on my target system two partition exist. sda1 (fat32, bootable) and
>>> sda2
>>> (ntfs, not bootable)
>>> sda1 is the partition for the unattended setup.
>>>
>>> Running parted manually i did this:
>>> rm 1
>>> mkpartfs primary fat32 20000 27000
>>> set 1 boot on
>>>
>>> After this mounting was possible, also copying of the data. But after
>>> reboot nothing happens, except a blinking underscore. (i had a look,
>>> all
>>> data still in the partition)
>>>
>>> So, is there anything else to do, to prepare the partition for booting.
>>>
>>>
>>> Thanks, Martin
>>>
>>> Martin Schulte schrieb:
>>>
>>>> Hello,
>>>> on my target system two partition exist. sda1 (fat32, bootable) and
>>>> sda2 (ntfs, not bootable)
>>>> sda1 is the partition for the unattended setup.
>>>>
>>>> First I tried to continue, when the the 'Choose partitioning
>>>> scheme'-dialogue appeared . But without any success. Unattended told
>>>> me
>>>> :
>>>> -----------
>>>> mount: mounting /dev/dsk1 on /c failed: Invalid argument
>>>> -----------
>>>> Of course he can't mount /dev/dsk1 because there is only /dev/sda1 and
>>>> /dev/sda2. But i think i cannot rename /dev/sda1 into /dev/dsk1 - or?
>>>> But although the install.pl must handle this somehow - can someone
>>>> explain me how?
>>>>    or
>>>> Where in the scripts is the place to change /dev/dsk1 into /dev/sda1?
>>>> (and is it that easy, as i think?)
>>>>
>>>>
>>>>
>>>> Second i tried to run parted manually, only for experiences: I created
>>>> to partitions like above but i get the same result
>>>>
>>>> Best regards, Martin
>>>>
>>>>
>>> ------------------------------------------------------------------------------
>>> Download Intel&#174; Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> _______________________________________________
>>> unattended-info mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/unattended-info
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> unattended-info mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/unattended-info
>
>




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.