Updated Universal Installer

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#16 Post by Sit Heel Speak »

@Dougal: I'm busy elsewhere for the next ten hours or so, but will give your installer a thorough workout when I return.

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#17 Post by Dougal »

I've updated the attachment in the first post again.

I've added the option of selecting the Pupy ISO and then it gets mounted and used.

A couple of things people asked for that I've already done before:
- Automount the cd: the script check the cd-drives and, if not empty, mounts and checks for the Puppy cd. Only if not found does it prompt you for the cd (and only asks that you put it in a cd-drive, no names or anything).
- Mention that "option 2" is only for Linux filesystems: I actually modified the script so that the dialogue giving the two options only shows up if you have selected a Linux fs...

I am attaching here a little script with the "options" dialogue that people find very confusing. You just need to gunzip it and click on it in rox. Let me know what you think.
It is also possible to create this dialogue with gtkdialog and have two "frames", one for each option, and each having a "info" button that opens a little window with info about that option.

I've started looking at grubconfig, but I don't know much about grub, so I'm not sure how much I can do.
Attachments
option-dialogue.gz
(856 Bytes) Downloaded 494 times
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
bostonvaulter
Posts: 269
Joined: Wed 27 Sep 2006, 03:41

#18 Post by bostonvaulter »

dougal, that looks much better. I have modified the wording slightly and added a reference to isomaster. Also added reccomended to frugal install

As for not showing the full hard drive option when the user doesn't choose a linux partition, it should say that you cannot do the full hard drive installation there. This would avoid confusion like in this thread http://www.murga-linux.com/puppy/viewtopic.php?p=111869

Keep up the good work,
Jason

[edit]oops, sorry meant Dougal, thanks Sit Heel Speak[/edit]
Attachments
option-dialogue_new.gz
(892 Bytes) Downloaded 534 times
Last edited by bostonvaulter on Mon 23 Apr 2007, 03:10, edited 2 times in total.
[img]http://img.photobucket.com/albums/v212/BostonVaulter/avatar/puppybar.png[/img]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#19 Post by BarryK »

Note, I have fixed the bug in grubconfig. Attached.

Dougal, I hope that you looked through my pupyinstaller script -- I recall now, there were some important bug fixes.
Attachments
grubconfig.gz
(12.09 KiB) Downloaded 546 times

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#20 Post by Sit Heel Speak »

@Dougal: Great job, guy!

I just downloaded and unzipped Dougal's newest-version installer. With 2.15CE booted from live-DVD, it has succeeded in putting an Option 2 (full hd) install on my 10GB ext3 hdb. No muss, no fuss, no hassles about needing to mount the (unmountable) DVD, this is wonderful...

Next I came to the screen where it asks whether I wish to create a boot floppy (or boot USB pen drive), or put GRUB on the disk. I'm going to bail out here, download Barry's grub installer (above), unzip it, and examine it first to see if it poses any danger to my already-existing multi-paragraph menu.lst. I've been using autoexec.bat on hda1 to start grub.exe (not mbr grub), with three Puppy variants plus Gentoo...

So far, so swimmingly...
Last edited by Sit Heel Speak on Tue 24 Apr 2007, 00:37, edited 3 times in total.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#21 Post by Sit Heel Speak »

Well...I'm working from a 2.15CE live-DVD, which is using a pup_save.2fs on hdd1...

Dougal's splendid --I say, SPLENDID-- new Puppy Universal Installer has put an Option 2 (full) install on hdb again; it makes the task so easy, I decided to use GPartEd to re-do hdb as a 512MB Linux swap partition hdb1 plus 9.5GB as the ext3 bootable partition hdb2. Wow. This is the greatest thing since green glow-in-the-dark GMO fishing worms...

Ah, but, alas, when I attempted to use Barry's therein-incorporated new grubconfig to put grub onto a boot floppy in fd0...

...even though the notification tells me I was successful...

...there is in fact nothing on the floppy.

The floppy drive was not mounted, which since the target disk partition needs to be not mounted I assumed should likewise be the case; was I mistaken?

...the floppy diskette itself was freshly formatted and double-checked with a scandisk surface scan in a Win 98 machine; it tested-out as defect-free, just before I attempted to turn it into a grub boot floppy.
Last edited by Sit Heel Speak on Mon 23 Apr 2007, 04:47, edited 1 time in total.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#22 Post by Sit Heel Speak »

...and it gets worse:

I just tried starting over with Dougal's new Puppy Universal Installer...this time, with the wannabe-boot-floppy already mounted...PUI wiped the files on hdb2 as commanded...then it copied a fresh full hd install onto hdb2, and this new install appears to be all there...OK so far...

...but, this time, I did not even get the offer to install grub. Puppy Universal Installer exits (vanishes) as soon as hdb2 is finished being freshly written. Grubconfig does not come up.
Last edited by Sit Heel Speak on Tue 24 Apr 2007, 00:39, edited 1 time in total.

Ardee
Posts: 58
Joined: Tue 29 Aug 2006, 19:37

#23 Post by Ardee »

Dougal, I've been asked by SHS to post the following results here:

test-scsi
/dev/sda - Direct-Access - USB DISK Pro
/dev/sdb - Direct-Access - USB DISK Pro

probedisk
/dev/hdc |cdrom|TOSHIBA CD-ROM XM-1802B
/dev/hda |diisk|FUJITSU MHE2064AT
/dev/sda |Direct-Access | USB DISK Pro
/dev/sdb |Direct-Access | USB DISK Pro

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#24 Post by Dougal »

Barry: I did add some modifications from the 2.16 version, but not all -- some are specific to the new Puppy, like not having the "ram0" in the grub code.
I'll have a look at the fixed grubconfig.

bostonvaulter: I'll have a look at your modifications. Yes, I could add some message telling the user that a full Linux installtion is not possible on a MS formatted partition... Maybe when I give the choice of partitions to choose from I should mention it?

There's somehting else that might need improving: when people want to install to a NTFS partition I give them a message pointing to some forum thread with help on installing to NTFS.
That thread is obviously outdated (it's not even "murga-linux", just "murga") so maybe someone who knows a bit about using a frugal install on NTFS can have a look at it, post here an updated link and possibly updated info?

Ardee: thanks, are those removable USB drives, or just flash-drives?

SHS: I'll try and find out why you didn't get the option of creating a floppy the second time 'round.

I will try and add usage of grubconfig for frugal installs, but I don't know exactly how it works, so what I might do is check if grub is already installed, in which case just add an entry, and if not run grubconfig -- I'm just not sure how it is with setting up entries for a initrd system (it has a function named "initrd"... will look into it).
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

NTFS install - try this

#25 Post by raffy »

Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

Ardee
Posts: 58
Joined: Tue 29 Aug 2006, 19:37

#26 Post by Ardee »

Dougal,

The drives are actually a single 4G USB memory stick with two folders in the root.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#27 Post by Sit Heel Speak »

@Dougal and @Ardee: Ach, my bad. I mistakenly thought they were removeable USB hard drives.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#28 Post by BarryK »

Dougal, okay, I guess with all the issues and feedback, the whole thing is under heavy development anyway, so I won't put your Universal Installer into 2.16alpha. But, by the time we get to 2.16beta it should be ready.
Yes, the /dev/ram0 thing ...hmm, a small thing really, perhaps the code could test /etc/puppyversion and decide accordingly whether to use it.

Just to clarify, the bug I fixed in grubconfig was the "unionfs" coming up in a dialog box when it should have displayed the target partition. I should have put the string 'v2.15' or 'v2.16' where it was fixed.

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#29 Post by Dougal »

BarryK wrote: perhaps the code could test /etc/puppyversion and decide accordingly whether to use it
I thought of that, but since you've been using 2.15 in your experimental builds it could have been a problem.


Everybody: Please test this, at least the first few stages, when it just detects your HW -- it won't cause any harm to your devices...

It is also best to run it from a terminal, so you will see any possible error messages.
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#30 Post by kirk »

Everybody: Please test this, at least the first few stages, when it just detects your HW -- it won't cause any harm to your devices...
It detects my SATA harddrive and partitions correctly. I didn't actually try an install though.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#31 Post by Sit Heel Speak »

Everybody: Please test this, at least the first few stages, when it just detects your HW
From 2.15CE live-DVD, with a pup_save on hdd1...your new PUI detects both a USB stick (sdb) and an SCSI hard disk (sda).

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#32 Post by Dougal »

Sit Heel Speak wrote:
Everybody: Please test this, at least the first few stages, when it just detects your HW
From 2.15CE live-DVD, with a pup_save on hdd1...your new PUI detects both a USB stick (sdb) and an SCSI hard disk (sda).
You mean a "real" SCSI drive? Or SATA? If it's a real scsi, I need help in trying to figure out how to know it's scsi and not sata... (I know sata might have "ATA" at the vendor -- 1st part of the name in probedisk -- but don't know if scsi drives will have "scsi" written anywhere...

If it's a real scsi I can give you more things to test...
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
Gn2
Posts: 943
Joined: Mon 16 Oct 2006, 05:33
Location: virtual - Veni vidi, nihil est adpulerit

#33 Post by Gn2 »

help in trying to figure out how to know it's scsi
Philosophy

Architecture
*****************

The Linux SCSI Generic (sg) Driver:

SG3 Utils

SG-IO

Great Fun All: sg_raw ~ cdrecord-scanbus( outputs much same data)

TOOLS
LSSCSI/MAPSCSI

User avatar
Gn2
Posts: 943
Joined: Mon 16 Oct 2006, 05:33
Location: virtual - Veni vidi, nihil est adpulerit

#34 Post by Gn2 »


User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Autodetected CDROM incorrect

#35 Post by rerwin »

Thanks very much, Dougal, for tackling the installer to make it more "universal". I have tested your new version (as of yesterday) and find that it does not correct a related problem introduced in 2.15. It relies on /dev/cdrom and /dev/dvd as set during initialization or by the drive wizard.

However, in 2.14 the wizard shows the detected drive correctly, as hdc; the 2.15 wizard incorrectly shows hdb. This causes the installer to persistantly prompt for insertion of a CD into hdb!

The workaround, of course, is to run the wizard to set hdc. This suggests that the dialog might recommend the user do that.

But the main problem is that the initial cdrom detection is invalid; however, the installer is what shows the crazy behavior when the user relies on the default detection. (My PC has only a primary-master HD and secondary-master CDRW. My other PC with 2 HDs gets even more bizarre -- the HDs are offered as the CDROM candidates.)

Here are the differing wizard dialog boxes:
2.14:
Puppy has probed your PC and found these CD/DVD drives:
/dev/hdc LITE-ON_LTR-48125W

Puppy thinks the default CDROM reader drive is: /dev/hdc
Puppy thinks the default DVD reader drive is:
Puppy thinks the default burner drive is: /dev/hdc

DEVICE LINKS:
/dev/cdrom is currently linked to: /dev/hdc.
/dev/dvd is currently linked to: .

2.15:
Puppy has probed your PC and found these CD/DVD drives:
/dev/hdc LITE-ON_LTR-48125W

Puppy thinks the default CDROM reader drive is: /dev/hdb
Puppy thinks the default DVD reader drive is: /dev/hdb
Puppy thinks the default burner drive is:

DEVICE LINKS:
/dev/cdrom is currently linked to: /dev/hdb.
/dev/dvd is currently linked to: /dev/hdb.
I also note that the 2.15 version misleadingly shows a DVD device, even though the device is only a CDROM.

I hope you can correct these regressions as part of your upgrade to the installer (and that on which it depends). Thanks in advance.

Richard

Post Reply