Modifying boot args

This forum is for all other ARMv5 devices

Modifying boot args

Postby dinjo » Thu Feb 02, 2012 2:29 pm

I currently have a 8Gb USB which is the bootable drive for me and a 500GB USB HDD i wanted to shift to 500 GB and remove the USB Stick as i see the drives are recognized differently each time so sometimes its sdb2 sometimes other so what should i make the changes to bootargs to make the pogo boot from that other drive.I'm adding here that 500GB has 3 different drives and i want to use 2 drive to boot and 3rd to store the data

$this->bbcode_second_pass_code('', '[root@DINJO /usr/local/cloudengines/bin]$ ./blparam
bootdelay=2
baudrate=115200
autoload=n
netmask=255.255.0.0
bootfile="uImage"
kernflmode=s
load_nand=nboot 60500000 0 200000
load_nand2=nboot 60500000 0 800000
boot=bootm 60500000
boot_nand=run load_nand boot || run load_nand2 boot
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:25:31:02:01:8B
cesvcid=RVJTZWKXTZ8VCHZQ7G8YFQN2HE
ceboardver=PPRO1
serverip=192.168.33.2
ipaddr=192.168.33.195
bootargs_stock=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes
load_custom_nand=nboot 60500000 0 500000
load_custom_nand2=nboot 60500000 0 B00000
boot_custom=run load_custom_nand boot || run load_custom_nand2 boot
bootcmd=run boot_custom
bootargs=root=/dev/sda1 ubi.mtd=2,512 rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes rootwait
')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Modifying boot args

Postby WarheadsSE » Thu Feb 02, 2012 2:42 pm

$this->bbcode_second_pass_quote('dinjo', 'I') currently have a 8Gb USB which is the bootable drive for me and a 500GB USB HDD. I wanted to shift to 500 GB and remove the USB Stick. I see the drives are recognized differently each time, so sometimes its sdb2 sometimes other. So what changes should I make to bootargs to make the pogo boot from that other drive. I'm adding here that 500GB has 3 different partitions and I want to use 2 partition to boot and 3rd to store the data


Is the 500GB drive going to be the only one attached?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Modifying boot args

Postby dinjo » Fri Feb 03, 2012 3:25 am

Yes.
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Modifying boot args

Postby dinjo » Mon Feb 06, 2012 7:39 am

@WarheadSe
?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Modifying boot args

Postby WarheadsSE » Mon Feb 06, 2012 12:47 pm

Lets do some simple logic here..

If /dev/sda1 loads the first partition, then /dev/sda? loads the second partition.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Modifying boot args

Postby dinjo » Tue Feb 07, 2012 11:17 am

I'm not sure how would the drive be taken as i mean the would the 2nd partition would be taken sda1 ? I want to confirm before i move ahead and make any changes
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Modifying boot args

Postby varkey » Tue Feb 07, 2012 12:04 pm

If its the only drive, I guess just changing to sda2 would do

bootargs=root=/dev/sda2 ubi.mtd=2,512 rootfstype=ext3 console=ttyS0,115200 elevator=cfq
varkey
 
Posts: 10
Joined: Wed Aug 18, 2010 4:08 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 1 guest