忘記密碼
 立即註冊
樓主: BYOB

打造終極 HiEnd HTPC - Linux 哇塞!

[複製鏈接]

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2012-12-29 00:44:55 | 顯示全部樓層
原發表者是 BYOB
[B]
好像看到我要的東東...

我也是想要用 update-grub來切換核心
但 grub如何預設核心呢 ? [/B]


把/etc/default/grub裡的GRUB_DEFAULT=0
換成其他數字.
0代表grub開機菜單的第一個核心, 1代表第二個.
而如果要選副菜單裡的核心, 就用"2>0", 表示副菜單裡的第一個核心.
然後跑update-grub就可以了.

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2012-12-29 00:47:52 | 顯示全部樓層
原發表者是 solo16
[B]Hi BYOB,

In my system I have two options for selecting kernel without using vga and keyboard just not sure if it works for you or not:

1) put a # in front of
GRUB_HIDDEN_TIMEOUT=0
under /etc/default/grub

2) when the system power on keep pressing ESC will call the grub menu out but this way you need to "practice" a bit of the timing...normally for me once poweron after 5 seconds then start pressing it ....

hope it helps [:I] [:I] [:I]

cheers!!! [/B]


咦? 不是shift鍵嗎?
還是serial console不同?

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2012-12-29 00:52:37 | 顯示全部樓層
Hi Byob/bchsieh,

in serial console ESC not shift.....i guess it's the "keyboard " definition different. ....shift not really work under serial.....

yup on client keyboard ESC.......

cheers!!!

14

主題

849

回帖

0

積分

新手上路

三星級會員

舊站積分
2319
舊站發表文章數
826
 樓主| 發表於 2012-12-29 00:55:32 | 顯示全部樓層
其實有點意外  系統竟然識別的到
一張陳年的 PCI轉RS232擴充卡(UT300)
dmesg | grep tty
[    0.000000] console [tty0] enabled
[    0.714672] 0000:04:06.0: ttyS4 at I/O 0xbf00 (irq = 20) is a ST16650V2
[    0.736571] 0000:04:06.1: ttyS5 at I/O 0xbe00 (irq = 21) is a ST16650V2

grub照往常的設定, 只是把原本的ttyS0 改為 ttyS4
這樣順利的連上系統

只是這次竟然開機選單跑不出來
情形好像跟用ssh網路連線是一樣的
是PCI介面造成的差異!!!?

然後原本用pietty連serial consloe時, copy/paste 文字都沒問題
現在一串指令裡面 都會出現1,2個亂碼
要先確認甚至修改 麻煩多了

設固定IP用ssh網路連線 連外網路下載又不正常

我的媽壓  很不順咧~

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2012-12-29 00:56:58 | 顯示全部樓層
原發表者是 bchsieh
[B]

把/etc/default/grub裡的GRUB_DEFAULT=0
換成其他數字.
0代表grub開機菜單的第一個核心, 1代表第二個.
而如果要選副菜單裡的核心, 就用"2>0", 表示副菜單裡的第一個核心.
然後跑update-grub就可以了. [/B]


in addition to this method....12.04 is different to 12.10.....
12.04 --- 2 will point to the submenu but 12.10 should be 1.........

btw the menu is counting from 0.......so the first option is 0 second option is 1....etc....

cheers!!!!

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2012-12-29 00:59:42 | 顯示全部樓層
原發表者是 BYOB
[B]其實有點意外  系統竟然識別的到
一張陳年的 PCI轉RS232擴充卡(UT300)
dmesg | grep tty
[    0.000000] console [tty0] enabled
[    0.714672] 0000:04:06.0: ttyS4 at I/O 0xbf00 (irq = 20) is a ST16650V2
[    0.736571] 0000:04:06.1: ttyS5 at I/O 0xbe00 (irq = 21) is a ST16650V2

grub照往常的設定, 只是把原本的ttyS0 改為 ttyS4
這樣順利的連上系統

只是這次竟然開機選單跑不出來
情形好像跟用ssh網路連線是一樣的
是PCI介面造成的差異!!!?

然後原本用pietty連serial consloe時, copy/paste 文字都沒問題
現在一串指令裡面 都會出現1,2個亂碼
要先確認甚至修改 麻煩多了

設固定IP用ssh網路連線 連外網路下載又不正常

我的媽壓  很不順咧~
[/B]


因為您用的RS232卡是不帶BIOS的, 所以開機的時候系統不會啟動這張卡,
得等到開完機, OS抓到後才能使用.

要開機就抓到RS232, 不是板子內建, 就是得找有BIOS的RS232卡.

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2012-12-29 01:01:41 | 顯示全部樓層
原發表者是 solo16
[B]

in addition to this method....12.04 is different to 12.10.....
12.04 --- 2 will point to the submenu but 12.10 should be 1.........

btw the menu is counting from 0.......so the first option is 0 second option is 1....etc....

cheers!!!! [/B]


呵呵, 多謝solo16兄提醒.
小弟是把grub改成沒有submenu了, 所以一切憑印象寫. [:I]

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2012-12-29 01:08:09 | 顯示全部樓層
原發表者是 BYOB
[B]其實有點意外  系統竟然識別的到
一張陳年的 PCI轉RS232擴充卡(UT300)
dmesg | grep tty
[    0.000000] console [tty0] enabled
[    0.714672] 0000:04:06.0: ttyS4 at I/O 0xbf00 (irq = 20) is a ST16650V2
[    0.736571] 0000:04:06.1: ttyS5 at I/O 0xbe00 (irq = 21) is a ST16650V2

grub照往常的設定, 只是把原本的ttyS0 改為 ttyS4
這樣順利的連上系統

只是這次竟然開機選單跑不出來
情形好像跟用ssh網路連線是一樣的
是PCI介面造成的差異!!!?

然後原本用pietty連serial consloe時, copy/paste 文字都沒問題
現在一串指令裡面 都會出現1,2個亂碼
要先確認甚至修改 麻煩多了

設固定IP用ssh網路連線 連外網路下載又不正常

我的媽壓  很不順咧~
[/B]


Hi Byob,

the grub menu bothered me quite awhile already those 2 methods not always work....sometime I'll  swap the ssd to another  machine  n move it back to the cas the grub can be called again....it's weird to me as well.......

just share my experience on networking ....some how the linux will change the "eth port" when use dmesg grep -i eth.....it'll said sth like change or port eth0 to eth4......and i think if it's on eth0 the network seems like more stable than say eth4.......n my isp is very poor on the download / connection speed to overseas. ....so when i install when choose to use the local mirror ......

hope can shed some light on you[:I]

cheers!!!!

14

主題

849

回帖

0

積分

新手上路

三星級會員

舊站積分
2319
舊站發表文章數
826
 樓主| 發表於 2012-12-29 01:13:02 | 顯示全部樓層
原發表者是 bchsieh
[B]

呵呵, 多謝solo16兄提醒.
小弟是把grub改成沒有submenu了, 所以一切憑印象寫. [:I] [/B]

敗求如何把grub改成沒有submenu ...

14

主題

849

回帖

0

積分

新手上路

三星級會員

舊站積分
2319
舊站發表文章數
826
 樓主| 發表於 2012-12-29 01:14:18 | 顯示全部樓層
原發表者是 bchsieh
[B]

因為您用的RS232卡是不帶BIOS的, 所以開機的時候系統不會啟動這張卡,
得等到開完機, OS抓到後才能使用.

要開機就抓到RS232, 不是板子內建, 就是得找有BIOS的RS232卡. [/B]

謝謝 讓我覺悟 !
您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|MyAV視聽商情網 test

GMT+8, 2026-11-20 08:30 , Processed in 0.082364 second(s), 41 queries .

Powered by MyAV!

快速回覆 返回頂部 返回列表