alf45tar / ix4-300d

Installing Debian 12 on Lenovo Iomega ix4-300d NAS
15 stars 4 forks source link

Permanent boot debian #5

Closed epasinetti closed 5 months ago

epasinetti commented 5 months ago

After installing Debian the device still boot with old OS... how can I solve ? if I boot with this command from serial console

ide reset; ext2load ide 2:1 0x0040000 uImage; ext2load ide 2:1 0x2000000 uInitrd; setenv bootargs $console $mtdparts root=LABEL=rootfs rw rootdelay=5; bootm 0x40000 0x2000000

Debian boot with no issue ... when I turn off the NAS and reboot , strart again from old OS.

alf45tar commented 5 months ago

Here the commands to permanent boot debian.

setenv bootdebian 'ide reset; ext2load ide 2:1 0x0040000 uImage; ext2load ide 2:1 0x2000000 uInitrd; setenv bootargs $console $mtdparts root=LABEL=rootfs rw rootdelay=5; bootm 0x40000 0x2000000;'
setenv bootcmd 'run bootdebian; reset;'
saveenv
reset
epasinetti commented 5 months ago

Great ! it work !