Settings not saved - lost by rebooting.
Forum: HD Install
Topic: Settings not saved - lost by rebooting.
started by: captainpotato
Posted by captainpotato on Nov. 11 2005,11:18
Hello all,
I'm having a somewhat frustrating experience: whenever I make changes, they are lost when I reboot. I save them using the 'backup/restore' option, but this has no effect. The best example is the network settings that I configure using Netcardconfig. I set up my networking (a 3com 10mbit PC card, although once I get my config saving, I'll also configure a Netgear WG511T wifi card), but upon reboot, it loses the settings and returns to the default settings of the installation.
Here's some specifics about my machine and installation: - Libretto 110, 64mb RAM. HD is split into: - hda1: /cdrom/ - hda5: /home/ /opt/ (-ie - hda5 is my data partition) - hda6: FAT32 partition, used for installation (my machine doesn't have a CD-ROM drive, and the Libretto floppy is PCMCIA, and so doesn't work for installation). This partition will become swap space once the installation is working perfectly. - Frugal install of 2.0 rc1, installed from hda6, using the 'fromhd' option to get it to boot; - Used the 'install_frugal.sh', followed by 'install_grub.sh' to get the OS installed (used a boot floppy to get to the DSL boot options); - As stated above, hda5 is my data partition, to which I would have thought my configuration should be saved; - My grub configuration is: kernel /boot/linux24 root/hda1 quiet vga=808 mydsl=hda5 restore=hda5 opt=hda5 apm apci=off noscsi - I tried using 'noapci', but this didn't seem to work either, and I have tried rearranging the options in grub as well;
I've also noticed that mydsl downloads also disappear, but until I can get the basic configuration saved, then I am not worrying about this yet.
Needless to say, I've been through the forums for a solution, but nothing has helped that I've found (and I've tried a few things, but all to no avail...) The frustrating thing is that apart from this (somewhat major) issue, DSL is perfect for my machine and is so much better on it than Win98 was.
I get the impression that I'm not the only person with this issue at the moment, as < this post > appeared whilst I was working on this message.
Any ideas?
Posted by mikshaw on Nov. 11 2005,16:05
I notice you have restore=hda5 and opt=hda5, but no home=hda5. If you have a persistent home and opt there is little reason to use the backup/restore at all. So if you have hda5 dedicated to home and opt, try changing restore=hda5 to home=hda5 and see if that works. You also have mydsl=hda5, so if you save your mydsl packages to the root of that partition then they should be loaded when you reboot.
Posted by captainpotato on Nov. 12 2005,00:26
Quote (mikshaw @ Nov. 11 2005,21:05) | I notice you have restore=hda5 and opt=hda5, but no home=hda5. If you have a persistent home and opt there is little reason to use the backup/restore at all. So if you have hda5 dedicated to home a |
Oops, sorry - that was a typo on my part. I have home=hda5 in there already *blush*
The correct grub entry is: kernel /boot/linux24 root/hda1 quiet vga=808 mydsl=hda5 restore=hda5 home=hda5 opt=hda5 apm apci=off noscsi
Any other ideas, now that I've got my configuration correct in this forum? ;)
Quote | You also have mydsl=hda5, so if you save your mydsl packages to the root of that partition then they should be loaded when you reboot. |
Okay, I'll give that a shot to see whether that works, and whether I was doing this or not.
Posted by mikshaw on Nov. 12 2005,03:40
You might actually need to insert "dsl" into that line, and the "root" part is messed up even though it apparently isn't hurting anything....maybe the root is specified correctly on another line?
kernel /boot/linux24 root=/dev/hda1 dsl quiet vga=808 blah blah blah
Posted by captainpotato on Nov. 12 2005,07:33
Quote (mikshaw @ Nov. 12 2005,08:40) | You might actually need to insert "dsl" into that line, and the "root" part is messed up even though it apparently isn't hurting anything....maybe the root is specified correctly on another line? |
*blush again* Damn, I should pay more attention when copying and typing... the 'root' is actually:
root=/dev/hda1 - so is correct.
(Next time I'll copy and paste from the machine in question...)
As to whether adding 'dsl' works... using:
kernel /boot/linux24 root=/dev/hda1 frugal dsl quiet vga=808 mydsl=hda5 restore=hda5 home=hda5 opt=hda5 apm apci=off noscsi
Doesn't work (and, yes, this time I've checked it - this is what I used). Exactly the same happens as before. Any other suggestions?
Posted by captainpotato on Nov. 14 2005,09:20
Hello all,
An update on my problem - in short, it's still here.
At length - I've upgraded to the 2.0rc2 version, doing the frugal install from /dev/hda6, as per my original method. However, nothing has changed from my earlier efforts.
This is my grub setting:
Quote | kernel /boot/linux24 root=/dev/hda1 quiet vga=808 noacpi apm dma noscsi frugal home=hda5 opt=hda5 mydsl=hda1 initrd /boot/minirt24.gz
|
The following is the output from dmesg (yes, very long, I know - but perhaps it helps?):
Quote | b-100 0x19991112 MSFT 0x0100000b) @ 0x00000000 Kernel command line: root=/dev/hda1 quiet vga=808 noacpi apm dma noscsi frugal home=hda5 opt=hda5 No local APIC present or hardware disabled Initializing CPU#0 Detected 233.291 MHz processor. Console: colour dummy device 80x25 Calibrating delay loop... 465.30 BogoMIPS Memory: 60996k/65600k available (1386k kernel code, 4216k reserved, 567k data, 144k init, 0k highmem) Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) Inode cache hash table entries: 8192 (order: 4, 65536 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) Intel Pentium with F0 0F bug - workaround enabled. CPU: After generic, caps: 008001bf 00000000 00000000 00000000 CPU: Common caps: 008001bf 00000000 00000000 00000000 Checking 'hlt' instruction... OK. Checking for popad bug... OK. ACPI: IRQ13 SCI: Edge set to Level Trigger. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: none CPU: After generic, caps: 008001bf 00000000 00000000 00000000 CPU: Common caps: 008001bf 00000000 00000000 00000000 CPU0: Intel Mobile Pentium MMX stepping 01 per-CPU timeslice cutoff: 159.61 usecs. SMP motherboard not detected. Local APIC not detected. Using dummy APIC emulation. Waiting on wait_init_idle (map = 0x0) All processors have done init_idle ACPI: Subsystem revision 20040326 PCI: PCI BIOS revision 2.10 entry at 0xfc5f8, last bus=21 PCI: Using configuration type 1 ACPI-0352: *** Error: Looking up [\_SB_.SBAT] in namespace, AE_NOT_FOUND search_node c3f20a60 start_node c3f20a60 return_node 00000000 ACPI-1133: *** Error: [NULL NAME], AE_NOT_FOUND ACPI-0165: *** Error: No object was returned from [\_SB_.PCI0.EIO_.PS2M._STA] (Node c10d96c0), AE_NOT_EXIST ACPI-0165: *** Error: No object was returned from [\_SB_.PCI0.EIO_.HDD1._STA] (Node c10d9b20), AE_NOT_EXIST ACPI-0165: *** Error: No object was returned from [\_SB_.PCI0.EIO_.COM_._STA] (Node c10d9d20), AE_NOT_EXIST ACPI-0165: *** Error: No object was returned from [\_SB_.PCI0.EIO_.ATH1._STA] (Node c10d9ea0), AE_NOT_EXIST ACPI-0165: *** Error: No object was returned from [\_SB_.PCI0.EIO_.ECP_._STA] (Node c10d9f80), AE_NOT_EXIST ACPI-0165: *** Error: No object was returned from [\_SB_.PCI0.EIO_.LPT_._STA] (Node c10d8240), AE_NOT_EXIST ACPI-0165: *** Error: No object was returned from [\_SB_.PCI0.EIO_.SND1._STA] (Node c10d82a0), AE_NOT_EXIST ACPI-0165: *** Error: No object was returned from [\_SB_.PCI0.EIO_.PCM4._STA] (Node c10d8400), AE_NOT_EXIST ACPI-0165: *** Error: No object was returned from [\_SB_.PCI0.EIO_.PCM6._STA] (Node c10d8680), AE_NOT_EXIST ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: System [ACPI] (supports S0 S1 S3 S4bios S4 S5) ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) ACPI: Power Resource [PWH1] (on) ACPI-0165: *** Error: No object was returned from [\_SB_.MEM_._CRS] (Node c3f20c20), AE_NOT_EXIST PCI: Probing PCI hardware PCI: No IRQ known for interrupt pin A of device 00:04.0 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11 ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11 PCI: Using ACPI for IRQ routing PCI: Cannot allocate resource region 0 of device 00:11.0 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Disk quotas vdquot_6.5.1 vesafb: framebuffer at 0xfd000000, mapped to 0xc501b000, size 1984k vesafb: mode is 800x480x24, linelength=2400, pages=0 vesafb: protected mode interface info at c000:8610 vesafb: scrolling: redraw vesafb: directcolor: size=0:8:8:8, shift=0:16:8:0 Console: switching to colour frame buffer device 100x30 fb0: VESA VGA frame buffer device pty: 256 Unix98 ptys configured Floppy drive(s): fd0 is 1.44M floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx hda: TOSHIBA MK4310MAT, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: attached ide-disk driver. hda: host protected area => 1 hda: 8449967 sectors (4326 MB), CHS=525/255/63 Partition check: hda: hda1 hda2 < hda5 hda6 > ide: late registration of driver. SCSI subsystem driver Revision: 1.00 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 Initializing Cryptographic API NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 4096) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 868k freed EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). scsi0 : SCSI host adapter emulation for IDE ATAPI devices usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 14:05:13 Aug 18 2005 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: v1.275:USB Universal Host Controller Interface driver Unable to identify CD-ROM format. VFS: Can't find ext2 filesystem on dev ide0(3,0). FAT: bogus logical sector size 46341 VFS: Can't find a valid FAT filesystem on dev 03:00. Unable to identify CD-ROM format. cloop: Initializing cloop v2.01 cloop: loaded (max 128 devices) cloop: /cdrom/KNOPPIX/KNOPPIX: 1814 blocks, 65536 bytes/block, largest block is 65552 bytes. ISO 9660 Extensions: RRIP_1991A Freeing unused kernel memory: 144k freed Real Time Clock Driver v1.10f Linux Kernel Card Services 3.1.22 options: [pci] [cardbus] [pm] PCI: Enabling device 00:13.0 (0000 -> 0002) PCI: Enabling device 00:13.1 (0000 -> 0002) Yenta ISA IRQ mask 0x06b8, PCI irq 11 Socket status: 30000219 Yenta ISA IRQ mask 0x06b8, PCI irq 11 Socket status: 30000011 cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x330-0x337 0x370-0x37f 0x388-0x38f 0x3f8-0x3ff 0x480-0x48f 0x4d0-0x4d7 cs: IO port probe 0x0800-0x08ff: clean. cs: IO port probe 0x0c00-0x0cff: clean. cs: IO port probe 0x0a00-0x0aff: clean. cs: memory probe 0xa0000000-0xa0ffffff: clean. eth0: 3Com 3c589, io 0x300, irq 3, hw_addr 00:10:4B:7D:2F:D6 8K FIFO split 5:3 Rx:Tx, auto xcvr usb-uhci.c: $Revision: 1.275 $ time 11:56:04 Aug 29 2005 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: v1.275:USB Universal Host Controller Interface driver Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected eth0: flipped to 10baseT usb.c: registered new driver hiddev usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice apm: BIOS version 1.2 Flags 0x02 (Driver version 1.16) apm: overridden by ACPI. eth0: flipped to 10baseT eth0: flipped to 10baseT
|
Aside from the USB parts, I don't see much wrong (I don't have USB on this machine). I'll go through it in more detail, but nothing leaps out at me.
Any ideas? I've run out of other things to try.
Posted by captainpotato on Nov. 14 2005,09:59
Some additional information:
When I change the theme (using the 'desktop'->'styles' menu item), the changes are remembered between boots, as are my Firefox bookmarks and myDSL application downloads.
In other words, the machine is remembering some settings - just not my network settings.
*edit* Mikshaw - I just found a post from you in < this thread > in which you wrote:
Quote | /etc cannot be made persistent with a boot parameter, and files in /etc cannot be restored through the backup/restore process (/etc is not writeable by user dsl).
|
As my network settings are saved in this folder (eg - /etc/resolv.conf for the nameservers), could this be the issue that is stopping me from saving my settings?
If so, I imagine that I'll need to create a myDSL file with the relevant settings, using the method you outlined in the aforementioned post - correct?
Posted by captainpotato on Nov. 14 2005,13:15
Okay people, after much searching, I have solved my problem!
The solution was simple, once I'd found the correct search terms: < read the FAQ >...
Mind you, I had, but somehow missed this.
As I don't seem to be the only person with this issue, I hope that this epic search will be helpful in the future for others
|